From dc0594cc54960a78c64e34c8ebb82f2ce52b687a Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sat, 6 Apr 2002 04:11:28 +0000 Subject: - (bal) Added MAP_FAILED to allow AIX and Trusted HP to compile. --- ChangeLog | 3 ++- includes.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 68539dcd5..67433b8aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 20020406 - (djm) Typo in Suse SPEC file. Fix from Carsten Grohmann + - (bal) Added MAP_FAILED to allow AIX and Trusted HP to compile. 20020405 - (bal) Patch for OpenSC SmartCard library; ok markus@; patch by @@ -8171,4 +8172,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.2026 2002/04/06 01:12:52 djm Exp $ +$Id: ChangeLog,v 1.2027 2002/04/06 04:11:28 mouring Exp $ diff --git a/includes.h b/includes.h index 4740418a7..633fd960e 100644 --- a/includes.h +++ b/includes.h @@ -103,4 +103,8 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include "openbsd-compat/bsd-cygwin_util.h" #include "entropy.h" +#ifndef MAP_FAILED +# define MAP_FAILED ((void *)-1) +#endif + #endif /* INCLUDES_H */ -- cgit v1.2.3