summaryrefslogtreecommitdiffstats
path: root/c/build-tools/src/cklength.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/build-tools/src/cklength.c')
-rw-r--r--c/build-tools/src/cklength.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/build-tools/src/cklength.c b/c/build-tools/src/cklength.c
index 4b712a1d63..624bf25e70 100644
--- a/c/build-tools/src/cklength.c
+++ b/c/build-tools/src/cklength.c
@@ -34,6 +34,7 @@ maximum line length. The default maximum line length is 80.\n\
#include <string.h>
#include <memory.h>
#include <stdarg.h>
+#include <errno.h>
#include "config.h"
@@ -85,7 +86,6 @@ int line_length = 80; /* maximum allowable line length */
extern char *optarg; /* getopt(3) control vars */
extern int optind, opterr;
-extern int errno;
char *progname; /* for error() */