summaryrefslogtreecommitdiff
path: root/openbsd-compat/strtonum.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-07-12 22:40:50 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-07-12 22:40:50 +1000
commit2c1a02a8d03069163d8cae21484f4e5656e904fe (patch)
tree0bb8f8b6358a2800a942aa69f2c2361aade88564 /openbsd-compat/strtonum.c
parentc931c433f60a515af4cd463815ad3f9cf75ba3d9 (diff)
- (dtucker) [loginrec.c openbsd-compat/xmmap.c openbsd-compat/bindresvport.c
openbsd-compat/glob.c openbsd-compat/mktemp.c openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c openbsd-compat/strtonum.c] Include <errno.h>.
Diffstat (limited to 'openbsd-compat/strtonum.c')
-rw-r--r--openbsd-compat/strtonum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c
index 8ad0d005..35c5c18b 100644
--- a/openbsd-compat/strtonum.c
+++ b/openbsd-compat/strtonum.c
@@ -22,6 +22,7 @@
#include "includes.h"
#ifndef HAVE_STRTONUM
#include <limits.h>
+#include <errno.h>
#define INVALID 1
#define TOOSMALL 2