summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-06 04:11:28 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-04-06 04:11:28 +0000
commitdc0594cc54960a78c64e34c8ebb82f2ce52b687a (patch)
tree3cb6b74b236cdfaeb6170e6acb67a1d5100574e1 /includes.h
parent12db56ba2f6bb0eeaec26d81683b4f4129fde573 (diff)
- (bal) Added MAP_FAILED to allow AIX and Trusted HP to compile.
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 4740418a..633fd960 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 */