Ville Laurikari <[EMAIL PROTECTED]> writes: > I don't have the time to try to understand the philosophy > behind all this "let's replace system headers with our own funky > versions" stuff.
Well, if we can't figure it out the "right" way, I guess we'll just have to patch it the "wrong" way for now. Maybe someone can do it "right" later, if this fix breaks some other AIX builds (which it well may). I installed this: 2006-10-21 Paul Eggert <[EMAIL PROTECTED]> * 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 @[EMAIL PROTECTED] */ -#if @HAVE_SYS_TYPES_H@ +#if @HAVE_SYS_TYPES_H@ && ! defined _AIX # include <sys/types.h> #endif _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils