X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fftruncate.c;h=1272ee74f6dd928170e08261c96e17c70cfdc69c;hb=a5ebad6e40c4d4d2fa3034c66bea5007d6c73dc8;hp=4f6aaa99349e83b6059d79bd9620236d46e97fc4;hpb=cdfc8b0fd4b9a7be4d0bcf2b2342deb24fcb1eca;p=gnulib.git diff --git a/lib/ftruncate.c b/lib/ftruncate.c index 4f6aaa993..1272ee74f 100644 --- a/lib/ftruncate.c +++ b/lib/ftruncate.c @@ -2,14 +2,7 @@ This file is in the public domain. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include @@ -32,7 +25,9 @@ ftruncate (fd, length) #include #include +#ifdef HAVE_UNISTD_H #include +#endif int ftruncate (fd, length)