Hari Kodungallur <hari.mailinglists@xxxxxxxxx> writes: >>From <sys/stat.h>: > ================= > > ... > ... > ... > > #ifndef __USE_FILE_OFFSET64 > /* Get file attributes for FILE and put them in BUF. */ > extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) __THROW __nonnull ((1, 2)); > >>From fixed sys/stat.h: > ====================== > > ... > ... > ... > > #ifndef __USE_FILE_OFFSET64 > /* Get file attributes for FILE and put them in BUF. */ > #ifdef __GNUC_GNU_INLINE__ > extern > #endif > __inline__ int stat (__const char *__restrict __file, > struct stat *__restrict __buf) __THROW __nonnull ((1, 2)); This is pretty clearly a bug when using fixincludes with an older version of glibc. As far as I can see the bug still exists in the current sources. Can you open a bug report for this? See http://gcc.gnu.org/bugs/ . Thanks. Ian