[PATCH 12/29] libnetworking: Add inttypes.h include for PRIu32, ...

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Apr 25 15:06:46 UTC 2016


From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>

---
 c/src/libchip/network/dwmac.c           | 1 +
 c/src/libchip/network/i82586.c          | 1 +
 cpukit/libnetworking/netinet/ip_fw.c    | 1 +
 cpukit/libnetworking/netinet/ip_input.c | 1 +
 4 files changed, 4 insertions(+)

diff --git a/c/src/libchip/network/dwmac.c b/c/src/libchip/network/dwmac.c
index b419081..30c0fc2 100644
--- a/c/src/libchip/network/dwmac.c
+++ b/c/src/libchip/network/dwmac.c
@@ -24,6 +24,7 @@
 #include <assert.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <inttypes.h>
 #include <string.h>
 #include <errno.h>
 #include <bsp.h>
diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c
index 39ba18f..7434550 100644
--- a/c/src/libchip/network/i82586.c
+++ b/c/src/libchip/network/i82586.c
@@ -155,6 +155,7 @@ Mode of operation:
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
+#include <inttypes.h>
 
 #include <sys/param.h>
 #include <sys/mbuf.h>
diff --git a/cpukit/libnetworking/netinet/ip_fw.c b/cpukit/libnetworking/netinet/ip_fw.c
index 3ee8697..9063b39 100644
--- a/cpukit/libnetworking/netinet/ip_fw.c
+++ b/cpukit/libnetworking/netinet/ip_fw.c
@@ -49,6 +49,7 @@
 #include <netinet/tcp_var.h>
 #include <netinet/tcpip.h>
 #include <netinet/udp.h>
+#include <inttypes.h>
 
 static int fw_debug = 1;
 #ifdef IPFIREWALL_VERBOSE
diff --git a/cpukit/libnetworking/netinet/ip_input.c b/cpukit/libnetworking/netinet/ip_input.c
index 77b5045..74cc2cb 100644
--- a/cpukit/libnetworking/netinet/ip_input.c
+++ b/cpukit/libnetworking/netinet/ip_input.c
@@ -39,6 +39,7 @@
 #include "opt_ipfw.h"
 
 #include <stddef.h>
+#include <inttypes.h>
 
 #include <sys/param.h>
 #include <sys/systm.h>
-- 
1.8.4.5




More information about the devel mailing list