diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-09 12:45:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-08-09 12:45:10 +0000 |
commit | 68a368fc9314a042996686c64514bdb44cbd4d49 (patch) | |
tree | 7a1b710851ebcb785d9b660c36b4d8fffbf2622d /cpukit/libnetworking/libc | |
parent | 2002-08-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-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 'cpukit/libnetworking/libc')
-rw-r--r-- | cpukit/libnetworking/libc/getservent.c | 1 |
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> |