summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ip.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-04-26 08:54:34 +0000
committerbrian <brian@FreeBSD.org>1999-04-26 08:54:34 +0000
commit42c76b892b2a251304d2676dc4406866b70ee8c2 (patch)
tree70f19a932d140e44302dcaa278b6b8c44baa30b4 /usr.sbin/ppp/ip.c
parentd1f60b18e9169cfefff4540b6d27ae1e2b181471 (diff)
downloadFreeBSD-src-42c76b892b2a251304d2676dc4406866b70ee8c2.zip
FreeBSD-src-42c76b892b2a251304d2676dc4406866b70ee8c2.tar.gz
Add support for NetBSD
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r--usr.sbin/ppp/ip.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c
index 79ab1ca..50bbe49 100644
--- a/usr.sbin/ppp/ip.c
+++ b/usr.sbin/ppp/ip.c
@@ -17,14 +17,14 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ip.c,v 1.55 1999/01/28 01:56:32 brian Exp $
+ * $Id: ip.c,v 1.56 1999/03/29 08:21:27 brian Exp $
*
* TODO:
* o Return ICMP message for filterd packet
* and optionaly record it into log.
*/
#include <sys/param.h>
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__)
#include <sys/socket.h>
#endif
#include <netinet/in.h>
@@ -43,10 +43,10 @@
#include <unistd.h>
#ifndef NOALIAS
-#ifdef __OpenBSD__
-#include "alias.h"
-#else
+#ifdef __FreeBSD__
#include <alias.h>
+#else
+#include "alias.h"
#endif
#endif
#include "mbuf.h"
OpenPOWER on IntegriCloud