summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-03-22 15:34:06 +0000
committerRoy Marples <roy@marples.name>2017-03-22 15:34:06 +0000
commit1d1f4526a25b3b2e531432f6596bb01940c97f81 (patch)
treea840c747063d80f5aeda766b51f04677187f875c /compat
parentae90db9e04c7adb8ce2d56c60b28bc22fd08ce45 (diff)
downloaddhcpcd-1d1f4526a25b3b2e531432f6596bb01940c97f81.tar.xz
Fix warnings by including the strtoi header.
Diffstat (limited to 'compat')
-rw-r--r--compat/strtoi.c2
-rw-r--r--compat/strtou.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/compat/strtoi.c b/compat/strtoi.c
index e1cd972c..e472a1c1 100644
--- a/compat/strtoi.c
+++ b/compat/strtoi.c
@@ -54,6 +54,8 @@
#include <inttypes.h>
#endif
+#include "strtoi.h"
+
#define _FUNCNAME strtoi
#define __TYPE intmax_t
#define __WRAPPED strtoimax
diff --git a/compat/strtou.c b/compat/strtou.c
index 363c6179..ea1adf4b 100644
--- a/compat/strtou.c
+++ b/compat/strtou.c
@@ -54,6 +54,8 @@
#include <inttypes.h>
#endif
+#include "strtoi.h"
+
#define _FUNCNAME strtou
#define __TYPE uintmax_t
#define __WRAPPED strtoumax