]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux.
authorRoy Marples <roy@marples.name>
Fri, 31 May 2013 14:24:46 +0000 (14:24 +0000)
committerRoy Marples <roy@marples.name>
Fri, 31 May 2013 14:24:46 +0000 (14:24 +0000)
dhcp.c
dhcp6.c
ipv6.c

diff --git a/dhcp.c b/dhcp.c
index 43bd336ef93e12608f510184741e4689b4dd9ebc..6f96588e91fbe31fe2d892dfba97c8e0fadeb59f 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -47,6 +47,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <inttypes.h>
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/dhcp6.c b/dhcp6.c
index 3c2e23dd31ba397deccb8ded4b9c6c1b7b072f69..196f7c8bb89357f3d67ffb23b50e74936789fb14 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -39,6 +39,7 @@
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <inttypes.h>
 #include <stdlib.h>
 #include <string.h>
 #include <syslog.h>
diff --git a/ipv6.c b/ipv6.c
index 6b34ea1f0bc281f4953be09075108cac9fd53b23..1f77749b73c78f7a0e574bd72765b07869df2cfc 100644 (file)
--- a/ipv6.c
+++ b/ipv6.c
@@ -48,6 +48,7 @@
 
 #include <errno.h>
 #include <ifaddrs.h>
+#include <inttypes.h>
 #include <stdlib.h>
 #include <string.h>
 #include <syslog.h>