[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stdint_.h fix for AIX 5.2
From: |
Paul Eggert |
Subject: |
stdint_.h fix for AIX 5.2 |
Date: |
Sat, 21 Oct 2006 15:12:45 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
I installed this:
2006-10-21 Paul Eggert <address@hidden>
* lib/stdint_.h [defined _AIX]: Don't include <sys/types.h>.
Problem reported by Perry Smith and Ville Laurikari.
--- lib/stdint_.h 11 Oct 2006 05:58:47 -0000 1.34
+++ lib/stdint_.h 21 Oct 2006 22:09:46 -0000
@@ -48,10 +48,11 @@
/* <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 @address@hidden */
-#if @HAVE_SYS_TYPES_H@
+#if @HAVE_SYS_TYPES_H@ && ! defined _AIX
# include <sys/types.h>
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- stdint_.h fix for AIX 5.2,
Paul Eggert <=