aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-05-24 11:59:17 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-05-24 11:59:17 +0000
commit40905e90497dbeb45affd52184fc2ce5b196af9b (patch)
tree62c2d62d544d8c9785b1c309ee946f8ee527decf
parentcba155c0c2bbbdb9647ed55fdf17e9e440c2d308 (diff)
downloadsrc-40905e90497dbeb45affd52184fc2ce5b196af9b.tar.gz
src-40905e90497dbeb45affd52184fc2ce5b196af9b.zip
Include <netinet/in.h> for ntoh*() and hton*() prototypes.
Approved by: das (mentor)
Notes
Notes: svn path=/head/; revision=129652
-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 17ea202748d8..78c2488f9a84 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 c967bc7fbcf7..138bc4cc0078 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 6daa80336c2c..349a471f1d9a 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 1300efd251f8..6aa1b8b55690 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 8a3bc5ee6f6c..e1f8c7ef88b6 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>