* lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
Problem reported by Perry Smith and Ville Laurikari.
-2006-10-21 Paul Eggert <eggert@cs.ucla.edu>
+b2006-10-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
+ Problem reported by Perry Smith and Ville Laurikari.
* lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c
uses.
/* <sys/types.h> defines some of the stdint.h types as well, on glibc,
IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>).
+ AIX 5.2 <sys/types.h> isn't needed and causes troubles.
MacOS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but
relies on the system <stdint.h> definitions, so include
<sys/types.h> after @ABSOLUTE_STDINT_H@. */
-#if @HAVE_SYS_TYPES_H@
+#if @HAVE_SYS_TYPES_H@ && ! defined _AIX
# include <sys/types.h>
#endif