summaryrefslogtreecommitdiff
path: root/openbsd-compat/strtonum.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/strtonum.c')
-rw-r--r--openbsd-compat/strtonum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/strtonum.c b/openbsd-compat/strtonum.c
index 35c5c18b..87f2f24b 100644
--- a/openbsd-compat/strtonum.c
+++ b/openbsd-compat/strtonum.c
@@ -20,7 +20,9 @@
/* OPENBSD ORIGINAL: lib/libc/stdlib/strtonum.c */
#include "includes.h"
+
#ifndef HAVE_STRTONUM
+#include <stdlib.h>
#include <limits.h>
#include <errno.h>