X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fchown.c;h=729dd3b0bc20dc4fb0c28f7ab8dc3c2f0f255b3e;hb=7b06e21eb5e8f585b20346271cbf241bad612f64;hp=ae6a504a79d7add8fec8ae1746ba7037f673d58c;hpb=b00e860d80d31318069eafaa67c920f24deae638;p=gnulib.git diff --git a/lib/chown.c b/lib/chown.c index ae6a504a7..729dd3b0b 100644 --- a/lib/chown.c +++ b/lib/chown.c @@ -18,7 +18,9 @@ /* written by Jim Meyering */ -#include +#ifdef HAVE_CONFIG_H +# include +#endif /* Disable the definition of chown to rpl_chown (from config.h) in this file. Otherwise, we'd get conflicting prototypes for rpl_chown on @@ -27,14 +29,8 @@ #include #include -#if HAVE_UNISTD_H -# include -#endif -#if HAVE_FCNTL_H -# include -#else -# include -#endif +#include +#include #include /* Provide a more-closely POSIX-conforming version of chown on