summaryrefslogtreecommitdiffstats
path: root/tools/build/src/unhex.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/src/unhex.c')
-rw-r--r--tools/build/src/unhex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build/src/unhex.c b/tools/build/src/unhex.c
index d9a4beb861..6a75a13ae7 100644
--- a/tools/build/src/unhex.c
+++ b/tools/build/src/unhex.c
@@ -37,6 +37,7 @@ usage: unhex [-va] [ -o file ] [ file [file ... ] ]\n\
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <errno.h>
#include "config.h"
@@ -96,7 +97,6 @@ u32 FFfill = 0L; /* how far to fill w 0xFF's */
extern char *optarg; /* getopt(3) control vars */
extern int optind;
-extern int errno;
char *progname; /* for error() */