aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sh/fmtulong.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/fmtulong.c')
-rw-r--r--lib/sh/fmtulong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/fmtulong.c b/lib/sh/fmtulong.c
index 0ccc22b..6feda41 100644
--- a/lib/sh/fmtulong.c
+++ b/lib/sh/fmtulong.c
@@ -51,7 +51,7 @@
#include <typemax.h>
#ifndef errno
-extern int errno;
+#include <errno.h>
#endif
#define x_digs "0123456789abcdef"