------- Comment #1 from danglin at gcc dot gnu dot org 2007-10-28 20:37 ------- This avoids the problem:
#include <inttypes.h> #include <sys/sar.h> #include <sys/sysinfo.h> int main () { return 0; } The header "sys/sar.h" declares struct syswait. Thus, there is a work around for the autoconf macro that uses this test. However, I'm still concerned about the hard error for this problem when the C89 standard doesn't require it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33933