summaryrefslogtreecommitdiffstats
path: root/libexec
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 /libexec
parentf55719c110b72cbd74029d9ffc3e20ce274b1f29 (diff)
downloadFreeBSD-src-04f0693a84eeb160251cb8679567ce771c7cf4af.zip
FreeBSD-src-04f0693a84eeb160251cb8679567ce771c7cf4af.tar.gz
Include <netinet/in.h> for ntoh*() and hton*() prototypes.
Approved by: das (mentor)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rbootd/rmpproto.c1
-rw-r--r--libexec/rbootd/utils.c1
2 files changed, 2 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>
OpenPOWER on IntegriCloud