On Sun, 21 Oct 2012, Andreas Jaeger wrote: > #ifdef __USE_LARGEFILE64 > # define O_LARGEFILE 0400000 > #endif You leave this unchanged, but shouldn't you change it to an unconditional definition of __O_LARGEFILE to work correctly with fcntl-linux.h? OK with that change. -- Joseph S. Myers joseph@codesourcery.com