]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on some systems.
authorRoy Marples <roy@marples.name>
Wed, 18 Feb 2015 13:40:23 +0000 (13:40 +0000)
committerRoy Marples <roy@marples.name>
Wed, 18 Feb 2015 13:40:23 +0000 (13:40 +0000)
compat/strtoi.h

index 69eb26437480ca302eddb1efbb8117d5e4f0c7f2..4b0c878c31913a2472f866f7a1c2cf4b5d24fbc0 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef STRTOI_H
 #define STRTOI_H
 
+#include <inttypes.h>
+
 intmax_t strtoi(const char * __restrict nptr, char ** __restrict endptr,
     int base, intmax_t lo, intmax_t hi, int *rstatus);
 uintmax_t strtou(const char * __restrict nptr, char ** __restrict endptr,