[rtems commit] network: Include missing <inttypes.h>
Sebastian Huber
sebh at rtems.org
Wed Jun 7 13:25:25 UTC 2017
Module: rtems
Branch: master
Commit: cf54965493787d4fc2803fd1faa8a4f811da9a67
Changeset: http://git.rtems.org/rtems/commit/?id=cf54965493787d4fc2803fd1faa8a4f811da9a67
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jun 7 07:22:38 2017 +0200
network: Include missing <inttypes.h>
Update #2833.
---
c/src/libchip/network/i82586.c | 1 +
cpukit/libnetworking/netinet/ip_fw.c | 1 +
cpukit/libnetworking/netinet/ip_input.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c
index d37855b..c06ed5f 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 89eff2a..5c6be50 100644
--- a/cpukit/libnetworking/netinet/ip_fw.c
+++ b/cpukit/libnetworking/netinet/ip_fw.c
@@ -48,6 +48,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 a898bde..65eaa07 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>
More information about the vc
mailing list