[rtems-libbsd commit] rc_conf: Include missing header files

Sebastian Huber sebh at rtems.org
Tue May 8 04:51:10 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    9c570da872583d71f78104de52e1c229cccc8963
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=9c570da872583d71f78104de52e1c229cccc8963

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu May  3 08:17:59 2018 +0200

rc_conf: Include missing header files

---

 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 8d70834..d5d4f39 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>




More information about the vc mailing list