summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-11 10:54:45 +0000
committerbrian <brian@FreeBSD.org>2002-05-11 10:54:45 +0000
commit80f4fb7cc73bf94a1919406f8818496a88f38d19 (patch)
treea466c2c37e459f7754b1578159857ae1743c8235
parent7124e5c22328527f1d26b9c57ac87be19a5e96ea (diff)
downloadFreeBSD-src-80f4fb7cc73bf94a1919406f8818496a88f38d19.zip
FreeBSD-src-80f4fb7cc73bf94a1919406f8818496a88f38d19.tar.gz
#include netinet/in.h when !__FreeBSD__ to silence some warnings from
the inclusion of arpa/inet.h
-rw-r--r--usr.sbin/ppp/mppe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/mppe.c b/usr.sbin/ppp/mppe.c
index 9de16e9..04cb732 100644
--- a/usr.sbin/ppp/mppe.c
+++ b/usr.sbin/ppp/mppe.c
@@ -28,6 +28,9 @@
#include <sys/types.h>
+#ifndef __FreeBSD__
+#include <netinet/in.h>
+#endif
#include <arpa/inet.h>
#include <stdio.h>
OpenPOWER on IntegriCloud