http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47902
--- Comment #2 from Daniel Richard G. <skunk at iskunk dot org> 2011-02-26 09:18:13 UTC --- >From config.log: configure:5203: checking for pid_t configure:5203: gcc -c -g conftest.c >&5 configure:5203: $? = 0 configure:5203: gcc -c -g conftest.c >&5 conftest.c: In function `main': conftest.c:79: parse error before `)' configure:5203: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define _LARGE_FILES 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_UNISTD_H 1 | #define WORDS_BIGENDIAN 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_SYSINFO_H 1 | #define HAVE_SYS_SYSTEMCFG_H 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define SIZEOF_INT 4 | #define UNSIGNED_64BIT_TYPE unsigned long long | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define HAVE_UINTPTR_T 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | int | main () | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:5203: result: yes Should I attach a copy of the system's sys/types.h header?