comparison src/s/aix4.h @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 558f606b08ae
children 5a2589c672dc
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
5 /* AIX 4 does not have HFT any more. */ 5 /* AIX 4 does not have HFT any more. */
6 #undef AIXHFT 6 #undef AIXHFT
7 7
8 #ifndef NOT_C_CODE 8 #ifndef NOT_C_CODE
9 #define _XFUNCS_H_ 1 9 #define _XFUNCS_H_ 1
10
11 /* AIX is happier when bzero and strcasecmp are declared */
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
10 /* Forward declarations for xlc warning suppressions */ 23 /* Forward declarations for xlc warning suppressions */
11 struct ether_addr; 24 struct ether_addr;
12 struct sockaddr_dl; 25 struct sockaddr_dl;
13 #endif 26 #endif /* C code */