summaryrefslogtreecommitdiffstats
path: root/tools/build/eolstrip.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/build/eolstrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/eolstrip.c b/tools/build/eolstrip.c
index 467b352322..c944ae6663 100644
--- a/tools/build/eolstrip.c
+++ b/tools/build/eolstrip.c
@@ -29,6 +29,7 @@ Strip the white space from the end of every line on the list of files.\n\
#include <string.h>
#include <memory.h>
#include <stdarg.h>
+#include <errno.h>
#include "config.h"
@@ -78,7 +79,6 @@ int test_only = FALSE; /* test only */
extern char *optarg; /* getopt(3) control vars */
extern int optind, opterr;
-extern int errno;
char *progname; /* for error() */