- (bal) Added MAP_FAILED to allow AIX and Trusted HP to compile.
diff --git a/includes.h b/includes.h
index 4740418..633fd96 100644
--- a/includes.h
+++ b/includes.h
@@ -103,4 +103,8 @@
 #include "openbsd-compat/bsd-cygwin_util.h"
 #include "entropy.h"
 
+#ifndef MAP_FAILED
+# define MAP_FAILED ((void *)-1)
+#endif
+
 #endif /* INCLUDES_H */