summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/getnetbynis.c
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-04-22 10:06:16 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-06-28 13:01:37 +0200
commit7e6f2350eaa33d1a30f25a252b094c91569772f6 (patch)
treec7695f6a235407c9c8bd07ac75c51149dde0310b /cpukit/libnetworking/libc/getnetbynis.c
parentlibcsupport: Add dummy for setgroups(). (diff)
downloadrtems-7e6f2350eaa33d1a30f25a252b094c91569772f6.tar.bz2
libnetworking: Add <rtems/rtems_netdb.h>
Move prototypes of non-portable _get*by*name/addr and _set/end*ent functions. This makes it easier to update <netdb.h>.
Diffstat (limited to 'cpukit/libnetworking/libc/getnetbynis.c')
-rw-r--r--cpukit/libnetworking/libc/getnetbynis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/getnetbynis.c b/cpukit/libnetworking/libc/getnetbynis.c
index 3849a679df..14f09bca58 100644
--- a/cpukit/libnetworking/libc/getnetbynis.c
+++ b/cpukit/libnetworking/libc/getnetbynis.c
@@ -32,6 +32,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <rtems/rtems_netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>