summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/gethostbydns.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/gethostbydns.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/gethostbydns.c')
-rw-r--r--cpukit/libnetworking/libc/gethostbydns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/gethostbydns.c b/cpukit/libnetworking/libc/gethostbydns.c
index 68af27d7fc..ba7291f433 100644
--- a/cpukit/libnetworking/libc/gethostbydns.c
+++ b/cpukit/libnetworking/libc/gethostbydns.c
@@ -73,6 +73,7 @@
#include <strings.h>
#endif
#include <netdb.h>
+#include <rtems/rtems_netdb.h>
#include <resolv.h>
#include <ctype.h>
#include <errno.h>