X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fftruncate.c;h=ff7d11b090a4f41760885dd15cbbd00e344c80fe;hb=6a9b156fdf9c71c0bbc8bb0b3aa0262df5674dda;hp=079fcda0f23601ee353ba036ae4d47f98c26c78e;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=gnulib.git diff --git a/lib/ftruncate.c b/lib/ftruncate.c index 079fcda0f..ff7d11b09 100644 --- a/lib/ftruncate.c +++ b/lib/ftruncate.c @@ -3,6 +3,9 @@ #include +/* Specification. */ +#include + #include #include @@ -21,7 +24,6 @@ ftruncate (int fd, off_t length) # include # include -# include int ftruncate (int fd, off_t length) @@ -64,7 +66,7 @@ ftruncate (int fd, off_t length) } # else /* not F_CHSIZE nor F_FREESP */ -# if HAVE_CHSIZE +# if HAVE_CHSIZE /* native Windows, e.g. mingw */ int ftruncate (int fd, off_t length)