comparison src/s/aix4.h @ 456:e7ef97881643 r21-2-43

Import from CVS: tag r21-2-43
author cvs
date Mon, 13 Aug 2007 11:41:24 +0200
parents 3d3049ae1304
children 223736d75acb
comparison
equal deleted inserted replaced
455:5b97c1cd6ed0 456:e7ef97881643
8 #ifndef NOT_C_CODE 8 #ifndef NOT_C_CODE
9 #define _XFUNCS_H_ 1 9 #define _XFUNCS_H_ 1
10 10
11 /* AIX is happier when bzero and strcasecmp are declared */ 11 /* AIX is happier when bzero and strcasecmp are declared */
12 #include "strings.h" 12 #include "strings.h"
13
14 /* AIX 4.2's sys/mman.h doesn't seem to define MAP_FAILED,
15 although Unix98 claims it must. */
16 #ifdef HAVE_MMAP
17 #include <sys/mman.h>
18 # ifndef MAP_FAILED
19 # define MAP_FAILED ((void *) -1)
20 # endif
21 #endif
22 13
23 /* Forward declarations for xlc warning suppressions */ 14 /* Forward declarations for xlc warning suppressions */
24 struct ether_addr; 15 struct ether_addr;
25 struct sockaddr_dl; 16 struct sockaddr_dl;
26 #endif /* C code */ 17 #endif /* C code */