According to Bruno Haible on 4/23/2007 2:56 AM: >> Make fflush rely on fpurge. > > This fails to compile on some system (sorry, I don't remember which one), > because off_t is not defined. Since off_t is defined by either <sys/types.h> > or <unistd.h>, here's a proposed fix. (<sys/types.h> is simpler, is required > by ISO C, does not need <unistd.h>.) > > > 2007-04-23 Bruno Haible <[EMAIL PROTECTED]> > > * lib/fflush.c: Include <sys/types.h>. Needed for off_t.
Thanks for testing. But fflush already depends on the unistd module for lseek; I just missed including it in my edits. And it still fails to compile on mingw, which lacks ftello. So we still need to figure out how to handle ftell/ftello and fseek/fseeko as gnulib modules. -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature