summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-05-24 11:59:17 +0000
committerstefanf <stefanf@FreeBSD.org>2004-05-24 11:59:17 +0000
commit04f0693a84eeb160251cb8679567ce771c7cf4af (patch)
tree62c2d62d544d8c9785b1c309ee946f8ee527decf
parentf55719c110b72cbd74029d9ffc3e20ce274b1f29 (diff)
downloadFreeBSD-src-04f0693a84eeb160251cb8679567ce771c7cf4af.zip
FreeBSD-src-04f0693a84eeb160251cb8679567ce771c7cf4af.tar.gz
Include <netinet/in.h> for ntoh*() and hton*() prototypes.
Approved by: das (mentor)
-rw-r--r--libexec/rbootd/rmpproto.c1
-rw-r--r--libexec/rbootd/utils.c1
-rw-r--r--usr.bin/gprof/aout.c2
-rw-r--r--usr.sbin/crunch/crunchide/exec_aout.c1
-rw-r--r--usr.sbin/sliplogin/sliplogin.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/libexec/rbootd/rmpproto.c b/libexec/rbootd/rmpproto.c
index 17ea202..78c2488 100644
--- a/libexec/rbootd/rmpproto.c
+++ b/libexec/rbootd/rmpproto.c
@@ -54,6 +54,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/time.h>
+#include <netinet/in.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/libexec/rbootd/utils.c b/libexec/rbootd/utils.c
index c967bc7..138bc4c 100644
--- a/libexec/rbootd/utils.c
+++ b/libexec/rbootd/utils.c
@@ -54,6 +54,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/time.h>
+#include <netinet/in.h>
#include <fcntl.h>
#include <signal.h>
diff --git a/usr.bin/gprof/aout.c b/usr.bin/gprof/aout.c
index 6daa803..349a471 100644
--- a/usr.bin/gprof/aout.c
+++ b/usr.bin/gprof/aout.c
@@ -41,6 +41,8 @@ static char sccsid[] = "@(#)gprof.c 8.1 (Berkeley) 6/6/93";
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#include <netinet/in.h>
+
#include <a.out.h>
#include <err.h>
diff --git a/usr.sbin/crunch/crunchide/exec_aout.c b/usr.sbin/crunch/crunchide/exec_aout.c
index 1300efd..6aa1b8b 100644
--- a/usr.sbin/crunch/crunchide/exec_aout.c
+++ b/usr.sbin/crunch/crunchide/exec_aout.c
@@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/errno.h>
+#include <netinet/in.h>
#include "extern.h"
diff --git a/usr.sbin/sliplogin/sliplogin.c b/usr.sbin/sliplogin/sliplogin.c
index 8a3bc5e..e1f8c7ef 100644
--- a/usr.sbin/sliplogin/sliplogin.c
+++ b/usr.sbin/sliplogin/sliplogin.c
@@ -79,6 +79,7 @@ static char rscid[] = "@(#)$FreeBSD$";
#include <sys/ioctl.h>
#include <net/slip.h>
#include <net/if.h>
+#include <netinet/in.h>
#include <stdio.h>
#include <errno.h>
OpenPOWER on IntegriCloud