summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/getservent.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-09 12:45:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-08-09 12:45:10 +0000
commit68a368fc9314a042996686c64514bdb44cbd4d49 (patch)
tree7a1b710851ebcb785d9b660c36b4d8fffbf2622d /cpukit/libnetworking/libc/getservent.c
parent2002-08-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-68a368fc9314a042996686c64514bdb44cbd4d49.tar.bz2
2002-08-09 Joel Sherrill <joel@OARcorp.com>
* libc/getservent.c: Per PR265, add #include <netinet/in.h> for ntohl() function.
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/libc/getservent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/getservent.c b/cpukit/libnetworking/libc/getservent.c
index 08a05c0975..4619e47795 100644
--- a/cpukit/libnetworking/libc/getservent.c
+++ b/cpukit/libnetworking/libc/getservent.c
@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)getservent.c 8.1 (Berkeley) 6/4/93";
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>