summaryrefslogtreecommitdiff
path: root/src/shred.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-20 13:26:06 +0000
committerJim Meyering <jim@meyering.net>1999-04-20 13:26:06 +0000
commitc7a0b8f429915148db0774bea09e37053bbac4f0 (patch)
tree738eb3f90daaa6dd6397563edd40c6158fd4d2f1 /src/shred.c
parent154588d7229910ae7d401a3f20433108695dae02 (diff)
downloadcoreutils-c7a0b8f429915148db0774bea09e37053bbac4f0.tar.xz
<config.h>: Include first, since it can do
things like #define const, and this must be done before including any system headers.
Diffstat (limited to 'src/shred.c')
-rw-r--r--src/shred.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shred.c b/src/shred.c
index ceba22919..e7b83e439 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -77,6 +77,10 @@
#define AUTHORS "Colin Plumb"
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <getopt.h>
#include <stdio.h>
#include <setjmp.h>
@@ -84,8 +88,6 @@
#if HAVE_CONFIG_H
/* Default fileutils build */
-# include <config.h>
-
# include "system.h"
# include "xstrtol.h"
# include "closeout.h"