Eric Blake wrote:
Rather, we should be fixing gnulib's replacement <sys/time.h> header to be self-contained.
How is HAVE_STRUCT_TIMEVAL defined in that build?If it's defined, why did the configure-time test for 'struct timeval' work even though test-gettimeofday.c does not work?
If it's not defined, why didn't the substitute sys/time.h not define 'struct timeval'?