summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ip.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-09-17 00:45:27 +0000
committerbrian <brian@FreeBSD.org>1998-09-17 00:45:27 +0000
commit3c58471f4949eacb1667089ed9b6f1419b6e28a3 (patch)
tree5a2214820262d9b93f22f24cceffbcbf97dcf784 /usr.sbin/ppp/ip.c
parent12e6bdcc2cead4a6f499fa84bbf22dd139cc4356 (diff)
downloadFreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.zip
FreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.tar.gz
Sync with OpenBSD ifdefs
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r--usr.sbin/ppp/ip.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c
index f837c9b..a7ffb30 100644
--- a/usr.sbin/ppp/ip.c
+++ b/usr.sbin/ppp/ip.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ip.c,v 1.51 1998/08/25 17:48:42 brian Exp $
+ * $Id: ip.c,v 1.52 1998/08/26 17:39:37 brian Exp $
*
* TODO:
* o Return ICMP message for filterd packet
@@ -36,15 +36,19 @@
#include <arpa/inet.h>
#include <sys/un.h>
-#ifndef NOALIAS
-#include <alias.h>
-#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#ifndef NOALIAS
+#ifdef __OpenBSD__
+#include "alias.h"
+#else
+#include <alias.h>
+#endif
+#endif
#include "mbuf.h"
#include "log.h"
#include "defs.h"
OpenPOWER on IntegriCloud