summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rtemsbsd/rtems/rtems-bsd-rc-conf-net.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c b/rtemsbsd/rtems/rtems-bsd-rc-conf-net.c
index 8d70834c..d5d4f395 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>