Apple et all: There is a 200+ line unified diff between sys/types.h in XCode 2.5 and XCode 3.0, but no version information? # diff -u /tmp/types.h /usr/include/sys/types.h | wc -l 217 # ident /usr/include/sys/types.h /usr/include/sys/types.h: ident warning: no id keywords in /usr/include/sys/types.h Anyway, it breaks basic GNU Autoconf macro checks (I found it trying to build Bacula w/ XCode 3.0 and OS/X 10.5.1). See the error below. The duplicate definitions are in: sys/stat.h and sys/types.h and sys/dirent.h: /* #ifndef _INO_T typedef __darwin_ino_t ino_t; */ /* inode number */ /* #define _INO_T #endif */ Lines 135 and lines 100: /* typedef int32_t daddr_t; /* /* disk address */ --------------------------------- | #define HAVE_INTMAX_T 1 | /* end confdefs.h. */ | #include <stdint.h> | int | main () | { | u_intmax_t a; a = 1; | ; | return 0; | } configure:25826: result: no configure:25837: checking for intXX_t types configure:25859: gcc -c -pipe -O2 -I/usr/include -D_REENTRANT -no-cpp-precomp -I/usr/include -D_REENTRANT conftest.c > &5 In file included from conftest.c:84: /usr/include/sys/types.h:100: error: two or more data types in declaration specifiers /usr/include/sys/types.h:135: error: two or more data types in declaration specifiers /usr/include/sys/types.h:135: error: two or more data types in declaration specifiers configure:25865: $? = 1 configure: failed program was: | /* confdefs.h. */ 1588 1589 AC_CACHE_CHECK([for intXX_t types], ac_cv_have_intxx_t, [ 1590 AC_TRY_COMPILE( 1591 [ #include <sys/types.h> ], 1592 [ int8_t a; int16_t b; int32_t c; a = b = c = 1;], 1593 [ ac_cv_have_intxx_t="yes" ], 1594 [ ac_cv_have_intxx_t="no" ] 1595 ) 1596 ]) 1597 if test "x$ac_cv_have_intxx_t" = "xyes" ; then 1598 AC_DEFINE(HAVE_INTXX_T) 1599 have_intxx_t=1 1600 fi 1601 _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf