Use a consistent style for including <config.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Sep 2005 17:28:14 +0000 (17:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 19 Sep 2005 17:28:14 +0000 (17:28 +0000)
* __fpending.c, acl.c, argmatch.c,
argp-help.c, argp-parse.c,
argp-pvh.c, backupfile.c, basename.c, c-stack.c,
calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c,
creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c,
dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c,
fd-safer.c, file-type.c, fileblocks.c, filemode.c,
filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c,
fsusage.c, ftruncate.c, full-write.c, fwriteerror.c,
getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c,
getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c,
hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c,
inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c,
memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c,
modechange.c, mountlist.c, open-safer.c, physmem.c,
pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c,
progreloc.c, putenv.c, quote.c, quotearg.c, readline.c,
readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c,
safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c,
strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c,
strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c,
strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c,
userspec.c, utimecmp.c, version-etc-fsf.c,
version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c,
xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c,
xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
Standardize inclusion of config.h.
* __fpending.h, dirfd.h, getdate.h, human.h,
inttostr.h:  Removed inclusion of config.h from header files.
* inttostr.c:  Adjusted in-tree users.
* timespec.h: Remove superfluous warning to include config.h.
* atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c,
gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c,
nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c,
unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H.

143 files changed:
lib/ChangeLog
lib/__fpending.c
lib/__fpending.h
lib/acl.c
lib/argmatch.c
lib/argp-help.c
lib/argp-parse.c
lib/argp-pvh.c
lib/atexit.c
lib/backupfile.c
lib/basename.c
lib/c-stack.c
lib/calloc.c
lib/chdir-long.c
lib/check-version.c
lib/chown.c
lib/cloexec.c
lib/closeout.c
lib/copy-file.c
lib/creat-safer.c
lib/cycle-check.c
lib/dirfd.c
lib/dirfd.h
lib/dirname.c
lib/dup-safer.c
lib/dup2.c
lib/euidaccess.c
lib/exclude.c
lib/exitfail.c
lib/fatal-signal.c
lib/fchown-stub.c
lib/fd-safer.c
lib/file-type.c
lib/fileblocks.c
lib/filemode.c
lib/filenamecat.c
lib/findprog.c
lib/fnmatch.c
lib/fopen-safer.c
lib/free.c
lib/fsusage.c
lib/ftruncate.c
lib/full-write.c
lib/fwriteerror.c
lib/getaddrinfo.c
lib/getcwd.c
lib/getdate.h
lib/getdelim.c
lib/getgroups.c
lib/getline.c
lib/getlogin_r.c
lib/getndelim2.c
lib/getnline.c
lib/getopt1.c
lib/getpass.c
lib/gettimeofday.c
lib/group-member.c
lib/hard-locale.c
lib/hash-pjw.c
lib/hash.c
lib/human.c
lib/human.h
lib/idcache.c
lib/inet_ntop.c
lib/inttostr.c
lib/inttostr.h
lib/isdir.c
lib/lchown.c
lib/long-options.c
lib/lstat.c
lib/malloc.c
lib/memcasecmp.c
lib/memcmp.c
lib/memcoll.c
lib/memcpy.c
lib/memmove.c
lib/mkdir-p.c
lib/mkdir.c
lib/mkstemp.c
lib/modechange.c
lib/mountlist.c
lib/nanosleep.c
lib/open-safer.c
lib/openat.c
lib/physmem.c
lib/pipe-safer.c
lib/pipe.c
lib/poll.c
lib/posixver.c
lib/progname.c
lib/progreloc.c
lib/putenv.c
lib/quote.c
lib/quotearg.c
lib/raise.c
lib/readline.c
lib/readlink.c
lib/readtokens0.c
lib/readutmp.c
lib/realloc.c
lib/regex.c
lib/rename.c
lib/rmdir.c
lib/rpmatch.c
lib/safe-read.c
lib/same.c
lib/save-cwd.c
lib/savedir.c
lib/sig2str.c
lib/strcspn.c
lib/strerror.c
lib/stripslash.c
lib/strncasecmp.c
lib/strndup.c
lib/strnlen.c
lib/strnlen1.c
lib/strsep.c
lib/strstr.c
lib/strtod.c
lib/strtoimax.c
lib/strtol.c
lib/strverscmp.c
lib/tempname.c
lib/time_r.c
lib/timespec.h
lib/unlinkdir.c
lib/userspec.c
lib/utimecmp.c
lib/version-etc-fsf.c
lib/version-etc.c
lib/wait-process.c
lib/xalloc-die.c
lib/xgetcwd.c
lib/xmalloc.c
lib/xmemcoll.c
lib/xnanosleep.c
lib/xreadlink.c
lib/xsetenv.c
lib/xstrndup.c
lib/xstrtoimax.c
lib/xstrtol.c
lib/xstrtoumax.c
lib/yesno.c

index 1786690b9f5a7e78b177b2f7bb371da913c03a65..2c62bb56851c8c9fc6f6ef90a416c4c4c26614c0 100644 (file)
@@ -1,3 +1,42 @@
+2005-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Use a consistent style for including <config.h>.
+       * __fpending.c, acl.c, argmatch.c,
+       argp-help.c, argp-parse.c,
+       argp-pvh.c, backupfile.c, basename.c, c-stack.c,
+       calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c,
+       creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c,
+       dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c,
+       fd-safer.c, file-type.c, fileblocks.c, filemode.c,
+       filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c,
+       fsusage.c, ftruncate.c, full-write.c, fwriteerror.c,
+       getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c,
+       getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c,
+       hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c,
+       inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c,
+       memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c,
+       modechange.c, mountlist.c, open-safer.c, physmem.c,
+       pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c,
+       progreloc.c, putenv.c, quote.c, quotearg.c, readline.c,
+       readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c,
+       safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c,
+       strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c,
+       strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c,
+       strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c,
+       userspec.c, utimecmp.c, version-etc-fsf.c,
+       version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c,
+       xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c,
+       xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c:
+       Standardize inclusion of config.h.
+       * __fpending.h, dirfd.h, getdate.h, human.h,
+       inttostr.h:  Removed inclusion of config.h from header files.
+       * inttostr.c:  Adjusted in-tree users.
+       * timespec.h: Remove superfluous warning to include config.h.
+       * atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c,
+       gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c,
+       nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c,
+       unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H.
+
 2005-09-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        * stat-time.h: New file.
index 0769f2314c1b675a9f42327512b816514529a99b..63fb7d7cc7334e1058ffb6e11c21ab2340ea3657 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 5a5158216c1a1261629ae8bbaa54b68a30fc803a..36a842ed529ec1f31849ecec862e750a532ecea4 100644 (file)
@@ -1,7 +1,3 @@
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #include <stddef.h>
 #include <stdio.h>
 
index 47b73bd2353b2ed612d743a946e1b12e5a289a9d..293582514e7f5eb26a2729e35653c826fcaed5e8 100644 (file)
--- a/lib/acl.c
+++ b/lib/acl.c
@@ -18,7 +18,7 @@
 
    Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index db883ac41c4a5035be5aff331b85487958d648e2..36d5845acb7812c55a908234d0a76361ad7a1922 100644 (file)
@@ -20,7 +20,7 @@
 /* Written by David MacKenzie <djm@ai.mit.edu>
    Modified by Akim Demaille <demaille@inf.enst.fr> */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f5172d0a21435b5564c3d95acacc441573aca474..74c8fd8624c4bf7c7fa8de2fb59bade99afa82bb 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #ifdef HAVE_CONFIG_H
-#include <config.h>
+# include <config.h>
 #endif
 
 #include <alloca.h>
index 345bddabe08bf863eefc1a151843036e4ee2d78a..b5d209665bf400435b1359c24ad44a90130d53e4 100644 (file)
@@ -18,7 +18,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#include <config.h>
+# include <config.h>
 #endif
 
 #include <alloca.h>
index 72a74845d41772ff1af3f1f5af07a16f48c9f804..6bf7c49b814a7c8a2adf6ac00e00c5ec2c891529 100644 (file)
@@ -18,7 +18,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#include <config.h>
+# include <config.h>
 #endif
 
 #include "argp.h"
index a401b2ff8c7dafdf9edf653c916b79710f8b3b57..f4873c9ee34090e9cf293070f35d6dd2c77cfeaf 100644 (file)
@@ -1,7 +1,9 @@
 /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
 /* This function is in the public domain.  --Mike Stump. */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 int
 atexit (void (*f) (void))
index f48a1cde87ea22e440dadc43908ca4917c3a7c12..ae61cbd1b1da6d80059fddb9924c667f61afa37f 100644 (file)
@@ -21,7 +21,7 @@
 /* Written by Paul Eggert and David MacKenzie.
    Some algorithms adapted from GNU Emacs.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 00adc0015e9df072fe170f43bf942cebde662773..5cc97cd4a4873586805b87acae8a244e8377f611 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index d6e5f60aa6528d6fd9a7da670aa178336abeb5ed..32088f9c6dd874b91b33d8ab08075240c7e00eae 100644 (file)
@@ -34,7 +34,7 @@
 
    No attempt has been made to deal with multithreaded applications.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 9edbf45523c7dc04236d4a9416389a0aee95ea3a..317b4fff405f0e8ca5abb4ade54c01c1650aca30 100644 (file)
@@ -18,7 +18,7 @@
 
 /* written by Jim Meyering */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #undef calloc
index 2cc70fa532dfdfacda48c48c25b778a3d3d76ea0..a727817251394544404218f63b3c4b65d8b2e206 100644 (file)
@@ -17,7 +17,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include "chdir-long.h"
 
index 2f17a6ccdea6dd7a18e0a1fb51ccb2c94c8e3a84..4df90a4843f4d12b31c7c6f2737763bc8a27628a 100644 (file)
@@ -20,8 +20,8 @@
    gcry_check_version from Werner Koch's Libgcrypt.  Paul Eggert
    suggested the use of strverscmp to simplify implementation. */
 
-#if HAVE_CONFIG_H
-# include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
 #endif
 
 #include <stddef.h>
index 2d97902e631a5ca42c0a11681b65c1ee5a5ad3a6..86dd3717c414219279e119e213a7314494979f36 100644 (file)
@@ -18,7 +18,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#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
index 79d4ed0b8d29a0e03bcba408cf45f26b39e94b36..5a0986561b5afd09350703fea446c3b4aeb3f489 100644 (file)
@@ -17,7 +17,7 @@
 
    The code is taken from glibc/manual/llio.texi  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index fb7d2bb427d6fe61b622819b1840126ebc7a0bae..5d0509dedecdb8c424ed72ec12dca757228c0517 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4b21eff8eb85ce73d86153fc7222a219e5e93ff5..8befdfe02dd618fdc44f775f3d514e614afde774 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index 8241c69b0bbcf5afe7df2b6168b0c45aa347a8d6..4588de39976faa5116a61771b35b82c3b3cd354a 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 1c6e17cacddf3ee3c30de32950ee7e796a42879a..401dd862f5f5d08535526b8d679dec3f0ced32e2 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Jim Meyering */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index d65a35c3efb439079111b29001bde8b5d1058bc6..18d5e1e5dd9f5e7fdf24153a502efa4616242f24 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index ce5ab2903e907ea0c0a833d817354843b8e01dc6..1223b51d2f9da0fdb98a8d6e537e9952326ad8fe 100644 (file)
 
    Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #include <sys/types.h>
 
 #if HAVE_DIRENT_H
index f1930c8d2f0eaa307c37933185766e580a87cd9e..e2b9d648c3dbd66e4d2c4eb342840e1e60fb1f67 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 1c46b6e7228a0a0a612ef2bfb04ecb4b4b13d6ff..8cbee7007b2b90218e668a81ff6f298f1822f4d3 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 77deaf62d0b4751673d8c7f033020d53c9f23c7c..d934da15da8a471143a95937aef5910c0aa03f20 100644 (file)
@@ -17,7 +17,7 @@
 
 /* written by Paul Eggert */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4bb93aa0b069314d43fb639f449c8063f5d736ca..15ffdb072398e52b8ec63010239d82a6edb402bf 100644 (file)
@@ -22,7 +22,7 @@
 /* Written by David MacKenzie and Torbjorn Granlund.
    Adapted for GNU C library by Roland McGrath.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 955c289563d03658c198b4d2116a3d0fe8fd89fc..40dd8b572445367d085631e859b26f43774236e2 100644 (file)
@@ -20,7 +20,7 @@
 
 /* Written by Paul Eggert <eggert@twinsun.com>  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 1c5997b8ac5e3d7461b98acd8871d68677df2a96..27d38c32a4c98e198b2e5ef4ee42e7ff624af976 100644 (file)
@@ -17,7 +17,7 @@
    If not, write to the Free Software Foundation,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 3f07294488263e45cf582e5b8a7604907d9e0b89..5bd757258d1df2c4bc9f127b227e370cf32ba594 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index beb336cafa151418b2d5701010eb1e7ec3dedc8a..322baccce3db5fbe28ee5f4f5e7f98fff4c963e2 100644 (file)
@@ -1,4 +1,6 @@
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 #include <sys/types.h>
 #include <errno.h>
 
index 6b50451338a4181df094cf879662db2a8d2dba87..5933bcbd120af90bab7407cfa3be97451342aec5 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 0a6c3ee77e5d88f4c50f8ee95c587d08463272d7..4b811903f0e9f97968d9a2720f1ced16e6f251d5 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index dd6fb6d3a7769360e5878cf8edc95b36cf15db2e..8d4f41c24ea7e9f2e4ca042c2f73b654843a1c0c 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Brian L. Matthews, blm@6sceng.UUCP. */
 \f
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index a5485b40119d99810b9f330947ef5f6b973323f3..08b9b13bb6ebd6ccb47a19e6470e8aa556240591 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f56697a6d2d84f3b27e6caf084b3d6ebcdce6657..f94734630315139f3e2e2739b7062b370ee47923 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 150056f330d9e23bcc45a0b83540a9ebf768d4ca..27eee3ba6b4cd07d3a8cdaf4e78e8e2ea405ab9c 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index ad66ce89ee70ea8b6a54a16924e6aca77a4deefc..06416f6ee5d791045b13b0a98a410aca450a6165 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index ccaf1219f0446683eedbc2d1ccf1affc9db9c072..4f2ffa1b850c41058ee9d0f03ebaa9bf5da7d6fc 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 9e3435640e6607370d6aa75bec5d5285520ed52b..597088d4eb435a407a8f395bed92230e24854252 100644 (file)
@@ -18,7 +18,7 @@
 
 /* written by Paul Eggert */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #undef free
index 83d26af88bd724aeddd6efd40794b4a37c0db694..da66b1a0f63fa34e2b19b65037a68372a4779ecb 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index c062fe80d81f533d04d6589dfb9c864161db2779..d5e1addfc9d71f4ff2d9a51e3f8c0dcfdd281309 100644 (file)
@@ -1,7 +1,7 @@
 /* ftruncate emulations that work on some System V's.
    This file is in the public domain.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 9626027420f3bf86153f7531e8abafdf08f03c71..106f3c7e539bb9f55880a6721c24db3dca2d249f 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 6ffdf526d9b112dd67fe85e3f35609f893dc8add..a88c8e1c3965db0d5d36bf9cb1d7320ae3090c57 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index e74aa75eb90540f4ded2401e52a184e51954f709..cd90769daa35ff52ef025970a5bad3dfdd7ef964 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 86070ead87730d140653ac7a6371cb3f26c57d17..9f8c4cc3febe8781a55eab8af039573782d46113 100644 (file)
@@ -17,7 +17,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 #if !_LIBC
index dd97807a769df05053f89c3defeca71b285fe3da..4694cdb6669c1dc6ec54a0f61663ac09c02cca91 100644 (file)
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #include <stdbool.h>
 #include "timespec.h"
 
index 5dc4a38d272de269790f9320abf1186eacb1608e..8498b7556a8582721f98e47a67e35da5417ce678 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Ported from glibc by Simon Josefsson. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 084d1f82883f0419bd5f36fdfb956171b81623de..126f130a06f608d940d5bb784637b57b77fc4c20 100644 (file)
@@ -17,7 +17,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 #include <stdio.h>
 #include <sys/types.h>
 #include <errno.h>
index 00f02f4aea7817b54d536b9fe77b371c40ad6c9e..ab054fba6b38499f0cc3f2033d4116974141ec2c 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Simon Josefsson. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index d269b92238c25b090669c731c0f39a3fffe94ca5..b9b76c64b255d6c7089c3ec0ec4a7c10c0f32f96 100644 (file)
@@ -18,7 +18,7 @@
 
 /* written by Paul Eggert and Derek Price */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index e9f8cb9c5396454c7a441618fd27760ba6a372a4..3c0fa3f05e9dd1d4b192ffde11f4886aeb54dbbf 100644 (file)
@@ -20,7 +20,7 @@
 
 /* Originally written by Jan Brittenson, bson@gnu.ai.mit.edu.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index cabc1d550a41e4f7a5b15581b00ac05fc28b77fc..c8cd38c0e21a9cbcfe8fc55c4ae177e7fc9ea8c5 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 5acd2245af0ada261f56af989eb6d444110edf0f..25d792650f7351705012b0aa7608ebe7fa76d075 100644 (file)
@@ -18,7 +18,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 \f
 #ifdef HAVE_CONFIG_H
-#include <config.h>
+# include <config.h>
 #endif
 
 #ifdef _LIBC
index b965bcfc0f37be501bd6463f17e07d2dc8d74a8b..f0b3184eeb219eef51d203ecf141f6a87b9fa1ad 100644 (file)
@@ -15,7 +15,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f9afc22c1fd3fa1afd97ddf9c733e9dd69dde8ba..eb6de94f1e302a660efa3a2c9d040d0df378af41 100644 (file)
@@ -20,7 +20,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 /* Disable the definitions of these functions (from config.h)
    so we can use the library versions here.  */
index 67fb9fd7c1837152876989b17f0cea959924147f..09a9ffc78bd9e079284f7fc1e0bdbd4270df243b 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index b0566ec2186ab5b17a7f831b811e5cf8deb6d001..98530fcd5ea158e4ba27437b3459a550f1588c9b 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 76b4db5c7d5bd0813f42edf7481d91c4e54f57d8..315277abb227611d9dba33caf7746affc8569564 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 2b5d5c255de035d720e11fc109a5f3456d02c6ee..f85bd519bf5a1d259de8dfb22fdff73df7c1b2d3 100644 (file)
@@ -24,7 +24,7 @@
 /* Define USE_OBSTACK to 1 if you want the allocator to use obstacks instead
    of malloc.  If you change USE_OBSTACK, you have to recompile!  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 282a3236f480d8aeb16b3b62a0a0297704eddcc7..ed15c6a24a3511f6699a15151f8d39a4ff4154a0 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Paul Eggert and Larry McVoy.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 3b23c123b8411e911815b92d4bd69478ac8daae3..20956ab392c64c30bd3b97069aa93e6a6072b0ae 100644 (file)
 #ifndef HUMAN_H_
 # define HUMAN_H_ 1
 
-# if HAVE_CONFIG_H
-#  include <config.h>
-# endif
-
 # include <limits.h>
 # include <stdbool.h>
 
index 82dec8d90c1e2477c6f69de6e15ddc0fffb6fe8f..b559e474c4bc8e4a0dd6be7093a33dd319916de1 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index c5d2eb0030f03e708463d71b667adeadcd821eec..752f0638745973bf4b36e42cb2fc3e4724c58df3 100644 (file)
@@ -16,7 +16,7 @@
  * SOFTWARE.
  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 23748a13780047b9b1cc1204a3d17080b2a51e94..2adcd2c131c21822518cf891678318219cc2314c 100644 (file)
@@ -18,6 +18,9 @@
 
 /* Written by Paul Eggert */
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 #include "inttostr.h"
 
 /* Convert I to a printable string in BUF, which must be at least
index 952da97b6290014a2ba54a8d560720d2ca1abe33..a036a1b7fa319195f38d5c35c983d690ca2d61b8 100644 (file)
 
 /* Written by Paul Eggert */
 
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif
index 11fe426b2b71c16f2c17109e60cdf4ad90da16df..6a56a43d651afd617beb8637148df1cc329536f5 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index ff5679e7f78f999dbab370642132f24953b4d0c7..0b74eac8a95f6d573e69f15c7de6fe54878e58a5 100644 (file)
@@ -17,7 +17,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <sys/types.h>
 #include <sys/stat.h>
index 33f1d4627d559065571833bf3ee8bb60d0eee884..7c9972a19805bcb05cea0cb6caa800dcab417ba2 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 0d539fe4a64ff4cafe68734f86f04a04d53dca81..f5a22b07b269001a9b791b17db10850694c429c7 100644 (file)
@@ -19,7 +19,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 /* The specification of these functions is in sys_stat.h.  But we cannot
    include this include file here, because on some systems, a
index a75da9b795bf3b99c56ddb9e7a1ba1b2d6479793..58fa6116824c2dfdd34754d367f9ac7cb4875940 100644 (file)
@@ -17,7 +17,7 @@
 
 /* written by Jim Meyering */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #undef malloc
index 00519f51ad549038b3459aad1639bc8ca4ed4a04..b0a492590c0a9a47fd3b47713bf7903b423e0f46 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index ca68658f3fcc4e6650f68a050521965791bae4ea..6928b1e4a04de89487b489109ece44917f48e979 100644 (file)
@@ -22,7 +22,7 @@
    USA.  */
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 #include <string.h>
index d9504b4531c0585c01a61145881192693a42e759..82d889f409d3fee8f94e95058a4d26797e9930e3 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Contributed by Paul Eggert <eggert@twinsun.com>.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 09fb55d218c6bc4027d213849d96f9929398a6f8..2ab5ed6ee78c77dee4f51d3f36f4b325c32d8148 100644 (file)
@@ -16,7 +16,7 @@
 
 /* Written by Jim Meyering <meyering@na-net.ornl.gov>.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 79cc7827396c0ffbe75e932f8b9d93a27994b6e1..753c899d387adf0177cb0cba0f5ef0f43e6ff759 100644 (file)
@@ -3,7 +3,7 @@
    In the public domain.
    By David MacKenzie <djm@gnu.ai.mit.edu>.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4bad68621ba9d613a1d51c962bc43973190a5756..efaa8d26594fb683a84711ea3ae4e43e55857396 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu> and Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 807f322e5e9d63ef41dc7158d01ab76927d9e89e..c921ecfdb4bf627a32c2d75a47d2acac1666b306 100644 (file)
@@ -19,7 +19,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 /* Disable the definition of mkdir to rpl_mkdir (from config.h) in this
    file.  Otherwise, we'd get conflicting prototypes for rpl_mkdir on
index 2683e4b8f7bfad5c078bef720334f961a95b83db..cec5ba8bac873eb563cf35a33b8d770c0c41f356 100644 (file)
@@ -15,7 +15,9 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 /* Disable the definition of mkstemp to rpl_mkstemp (from config.h) in this
    file.  Otherwise, we'd get conflicting prototypes for rpl_mkstemp on
index a2697f67ff0243d0ee1a2335caa5aa10bef8334d..6ab9cb6fdd5a539a97f91d51a130e19e51204dfa 100644 (file)
@@ -26,7 +26,7 @@
    changing the mode of many files, this probably results in a
    performance gain.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index a8ef87d8c8abdc94f2ceec66c9141b92a8bc46a0..325b213a2690851f6edb42ce9bbbe8e2ce69d5af 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f41aed2cf3ad69a7809ac325e1e89142967acc4c..fa2078507287e3806dd85dbdbdebfc226fff22c3 100644 (file)
@@ -17,7 +17,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 /* Undefine nanosleep here so any prototype is not redefined to be a
    prototype for rpl_nanosleep. (they'd conflict e.g., on alpha-dec-osf3.2)  */
index c7800a3959eb6bbdd225f875d02429c8c99a762b..d3ba894ac7bc0be60822184e7e7b4cf85d09a335 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index ec51b2d1376f0436ebfac5ff5776a7cf5725e9d5..443cb3da654f1ac8ed936fa0c0f679ccb4ec69e1 100644 (file)
@@ -17,7 +17,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include "openat.h"
 
index dabb00ccbea7b78bab217e70b40cc52d797ea9d4..795a0a8da733b97bec859b5bfc037ccb6615b7c1 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 579165765458f4bb14403ea25acb0267cd00f70f..fb02d721770be2040cb8177c4c459a1abf886886 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 5ad293551cff962d5950359ecee621010961bd54..730a155baeaaef0fd68eb5923b071507c8e37ac1 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index bc200f515d1cfb49266492a0e5a03afed774ec27..80708854961542a9874fdba3cc2312cb7740e932 100644 (file)
@@ -20,7 +20,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+# include <config.h>
 #endif
 
 #include <sys/types.h>
index 2fa097ae6c41e0d7b2678d9ef23189d0038a830b..3a0bb5201592d705def34743c8acc00c283460f8 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index ea32128ab4c96a296dfe397aa84c3858a8367415..67ecdff70d11fc195e8a727a2ab25a5eace80e1d 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index df88d5a825e9d5ca552caddcfac7aaca460e6719..18e73599a121fbda02ec9aa5cced498ad27a58bd 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index 69fb90be616c2de1ce2b86b8931c559f81288974..6acefaaefb86ea0d4f6d4df19e9984dd962f8e9c 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4c75029a337e880fe3b113c76e56e119a612c3f3..16cc939c165a182783ec3fabf6158f247fd762fa 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Paul Eggert <eggert@twinsun.com> */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index eef237f0e60ced3a30ee1748c89f3629463a9406..13bd16ff7a1c57b82717ac2179e8ce2c5714e4da 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Paul Eggert <eggert@twinsun.com> */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 8eeea5c89051679577a97a15bddcc38a581562b9..237d8bf7b64dc1fea03e0fc16247118506430655 100644 (file)
@@ -17,7 +17,9 @@
 
 /* written by Jim Meyering */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <sys/types.h>
 #include <signal.h>
index 197262a29cd431708ddc176a106def526506f6c2..3f8c18ae444afd6ca2d3fa23a78769e5fdfb71de 100644 (file)
@@ -16,8 +16,8 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
 #endif
 
 /* This module is intended to be used when the application only need
index bf8a5f7830936285699daf85c51169072a3dceb3..3196aecb035ea2756029cfc597ad8340b2583615 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 494e08d55e3511269d57563120903480958fe8ce..55b39a747f58c74ce5db113575901e9f571e74b1 100644 (file)
@@ -17,7 +17,9 @@
 
    Written by Jim Meyering. */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 #include <stdlib.h>
 
 #include "readtokens0.h"
index 846ab3c6a2da7103752ec757a18172697f880384..634d9ab1ffd6d364e6e0aab2babcd5de9468b88d 100644 (file)
@@ -17,7 +17,9 @@
 
 /* Written by jla; revised by djm */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include "readutmp.h"
 
index df570aa631d51d5d126ed3383f2600721c09ddeb..fe94822238b30f956315a10506addcaa37117ca8 100644 (file)
@@ -17,7 +17,7 @@
 
 /* written by Jim Meyering */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #undef realloc
index 1bfdd6b9cf9473ac930e08c74b93c3e8d3bf8316..82e76c0911a976b5ecf94c0a6394d223c89227b0 100644 (file)
@@ -18,7 +18,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+# include <config.h>
 #endif
 
 #ifdef _LIBC
index 6f77fd09c977dbb238fd3500e397c4cf160aeb2b..9c9e7f4dff98e0744e43965456afdc26500b4e6b 100644 (file)
@@ -19,7 +19,7 @@
 
 /* written by Volker Borchert */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #undef rename
index ad026a641bcda33dbfa5455fc1500e61498cba52..25564b6b4891e3cfe653ea4b25e7eebfc8a4037b 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 3e3a38ecf0384c8b8c00bf7f2a01ff0b26b0fe21..ba8bc4ce93925e753448120035e3137f41c2c6d9 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 904fc71f03b69a072b24c19ab4b580129bd70c62..391d7896bfc2f59b5c44d51f684a208fa53a7783 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 89ee47dd09c2f496ed8ca41587ce4f6f550ed843..f9e707d7e2f1f915b3337928d8108e5e232d6ae4 100644 (file)
@@ -19,7 +19,7 @@
 
 /* written by Jim Meyering */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 5ad790a4d3542a7deafd4f5b9ac6325769e2b1da..7f1b30b96ed928e25c9a36f3cd1ad15ebaadd499 100644 (file)
@@ -19,8 +19,8 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
-# include "config.h"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
 #endif
 
 #include "save-cwd.h"
index 4eeda01939fad542ff1d58687b18475a040c175e..a2cf2f67874ffd3f35ced2efe69dd075c8047417 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 25ea5f3100784d45776e9b63e2954f09edd2b952..00089be7827330d8ecfddf6646d15d4ec363ca48 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 7f60620b3f27ca5e177a92b25dfa63be8411728c..9fbc5de491afc87f911f2f6a36ebd123cade8ce9 100644 (file)
@@ -18,7 +18,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 1efb53fcff0d7f8ac20921c33316d09f770deb2f..623821d2e3d50b6df1754707a12c8ae94dc83c00 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 870a66f3877698722736e126a74df52d5baa30a0..9b55da48ede3d7db1050ada210870bb17a96c51d 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4e57debf51a9f46b8b5397ec43231a36b55c2b2d..72ead013be765493939bfbb8398601494c35ad1e 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index b2d7c0e0bb8d94c2dcd8c78feda704ef662e6027..9ac2756a2b1e16c81550ce98e4ee99b9f9650bee 100644 (file)
@@ -18,7 +18,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 #include <stdlib.h>
index 642c66fac867a4bc640e45f61dc4a69f522491d7..97a1f810c5921347c89f65ad24d74924ed11de55 100644 (file)
@@ -16,7 +16,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 #undef strnlen
index 6cc2da8dfe8b422f8e70bbbfcaaa1adafac3b1df..f3338e7cf435d4a3db3fe6380dd5429b8fa16948 100644 (file)
@@ -16,7 +16,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
    USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 40c2939c8e461626d0320a0e02f00de38cb050b4..db2b074c853094185752c97f4beeb557489d4bac 100644 (file)
@@ -17,7 +17,7 @@
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#include <config.h>
+# include <config.h>
 #endif
 
 /* Specification.  */
index 496e19b06ad12587f0f3d4dc74d74f3f046de011..e94cef7568b859859683370b0a710cb9c31d7f59 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 79a82f29e8c4993c5067c77714ff1f5dfd729283..7b48754e43dad9faf6dd9178f3c23cbbf52c9542 100644 (file)
@@ -14,7 +14,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4724195ac73d9f5a4dc3a2434bda524558bdac53..43a690d24be1f8da514cbd31f1148bb57a6d347c 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Paul Eggert. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 778898159b6d75edfb7b0a5b6c27549f6237b16a..9bfbe3c1af65e532448cb93c34445cbb6443a213 100644 (file)
@@ -20,7 +20,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 900c637dd10ab509b809ecde9533552a9cff0cea..6276bca0fa9c07547a31b0e8415c53d5c3fda8f4 100644 (file)
@@ -17,7 +17,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4b0fad3f87f335d12c474b20e630e7fd5898d8d2..cae42e16d0d6108da10cbbdd5746de2ce6027ff9 100644 (file)
@@ -17,7 +17,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 1298728ba842c5d42e7d2d30af734aac380df368..245ac924beed4185dae795606a1645f0b3b918d0 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 01032f336322ef19f030561fd6ca317b47e2faed..8188c208c036213f0dc1f6d95b67293e4a935593 100644 (file)
@@ -19,8 +19,6 @@
 #if ! defined TIMESPEC_H
 # define TIMESPEC_H
 
-/* You must include config.h before including this file.  */
-
 # include <sys/types.h>
 # if TIME_WITH_SYS_TIME
 #  include <sys/time.h>
index b12d2a4925daf9b08c7e299a9ddbbeba75091069..91a4fb699cd78d68684e3104858fa330bd689930 100644 (file)
@@ -18,7 +18,9 @@
 
 /* Written by Paul Eggert and Jim Meyering.  */
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include "unlinkdir.h"
 
index 5f5c5bf43c8650ce389301aa360a10a08f8622e8..5488c31ec8864ed9dfca37f105a3b83afdfcfa1e 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu>.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 4c8e6c9caff3708c913023cd1cbbf02e1ed1c226..7308929f43ed70b3567fbbc297a59e1b194acb7f 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Paul Eggert.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index a91ab868738dc3d47f28012ac8ac7b16e8543ba3..374100563fb8455b7401b30b5076fd7988ee1566 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f27f6a43afae6a27d072a6f6e2f4ddc59583d0c2..05bc3ad255a9024d45d11fe42bcac949ba86a04a 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Jim Meyering. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index b36af18bcff9d3950cd2d45941feb9a337ca10e6..221a39c10e51cf9d4e3c6fd4fb2919077a70b1cb 100644 (file)
@@ -18,7 +18,7 @@
 
 
 #ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
 #endif
 
 /* Specification.  */
index 637933e30889b77fe7e97e4692bb31385033dbf6..ff5ac9e675e240f731ea70ef2044fa239aa27682 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f8116f2243632a654b0c68f12e585a8d4ecfabac..0f798dac066d71b75e5a5b9d7f5d75e0c1367944 100644 (file)
@@ -18,7 +18,7 @@
 
 /* Written by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 6977703b8024c87c811d9e711ebe5ae08d3625c6..687633c250cfeee9eaa1e9227feec92d1281612f 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 063612e95a48d41516acc0992d6b71cf14024cf2..f04e468d8fb55bcd930080f9d1ec8f7f39c770e7 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Contributed by Paul Eggert <eggert@twinsun.com>.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index f2d9e93be3a80648b94f8c33ac4a1c1b26b8da88..bab58eecb4e9b98e49f65b40c076ca592374933a 100644 (file)
@@ -18,7 +18,7 @@
 /* Mostly written (for sleep.c) by Paul Eggert.
    Factored out (creating this file) by Jim Meyering.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index d56d2a6af40bcc362d602faf9b18c77902473065..f21812d09488c90b5e8e7338f23bead55d1ebf38 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Jim Meyering <jim@meyering.net>  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 3e5938650a33352972b6b9ddf35ab74b0a1445a8..048337305e871607df94ea9173a6be9c69de6c6a 100644 (file)
@@ -15,7 +15,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index edf83cf87f3f153d68a74295886be74fad7de60a..a62d4bd695c8dfa68b2af4a0d77a6ffdc154d127 100644 (file)
@@ -16,7 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index b1bc3616297c99f284296fc535357a46bcfc905f..3e585d6e00f21585ba57a01de7e79cfcd16addbe 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Cloned by Jim Meyering. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index 9940fc7705747d0f18e5b3286782292396a3309b..d01db3ca9ef2efba845590999e00735bc863f4d2 100644 (file)
@@ -19,7 +19,7 @@
 
 /* Written by Jim Meyering. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index d7cf2bed8175289dc35d6ed87149e863ccbafb88..e6208a4740ea116b4f097e8d82a2eec9645adb1b 100644 (file)
@@ -17,7 +17,7 @@
 
 /* Written by Paul Eggert. */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
index e4b945838ebc247aebb40616f0842b257f46d56c..a364a1b18dd9ec0a7e001d2120086b17453d9e8f 100644 (file)
@@ -17,7 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif