[PATCH v2 1/6] rc_conf: Include missing header files
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu May 3 06:49:46 UTC 2018
---
rtemsbsd/rtems/rtems-bsd-rc-conf-net.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c b/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c
index 8d70834c9..d5d4f3958 100644
--- a/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c
+++ b/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c
@@ -32,6 +32,8 @@
* - defaultrouter
*/
+#define _GNU_SOURCE
+
#include <sys/param.h>
#include <sys/types.h>
#include <sys/queue.h>
@@ -39,6 +41,7 @@
#include <sysexits.h>
#include <ifaddrs.h>
+#include <arpa/inet.h>
#include <net/if.h>
#include <net/route.h>
#include <netinet/in.h>
@@ -49,6 +52,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
+#include <string.h>
#include <unistd.h>
#include <rtems.h>
--
2.12.3
More information about the devel
mailing list