diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-06 04:11:28 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-04-06 04:11:28 +0000 |
commit | dc0594cc54960a78c64e34c8ebb82f2ce52b687a (patch) | |
tree | 3cb6b74b236cdfaeb6170e6acb67a1d5100574e1 /includes.h | |
parent | 12db56ba2f6bb0eeaec26d81683b4f4129fde573 (diff) |
- (bal) Added MAP_FAILED to allow AIX and Trusted HP to compile.
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |