diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-03 08:17:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-08 06:50:17 +0200 |
commit | 9c570da872583d71f78104de52e1c229cccc8963 (patch) | |
tree | 5e76014b39c968dd1da7b88691003e2af66ee306 | |
parent | waf: Allow to add libs per test. (diff) | |
download | rtems-libbsd-9c570da872583d71f78104de52e1c229cccc8963.tar.bz2 |
rc_conf: Include missing header files
-rw-r--r-- | rtemsbsd/rtems/rtems-bsd-rc-conf-net.c | 4 |
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> |