summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipcp.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/ipcp.c
parent12e6bdcc2cead4a6f499fa84bbf22dd139cc4356 (diff)
downloadFreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.zip
FreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.tar.gz
Sync with OpenBSD ifdefs
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index d580edd..40e1dfa 100644
--- a/usr.sbin/ppp/ipcp.c
+++ b/usr.sbin/ppp/ipcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipcp.c,v 1.64 1998/08/26 17:39:37 brian Exp $
+ * $Id: ipcp.c,v 1.65 1998/09/04 18:25:59 brian Exp $
*
* TODO:
* o More RFC1772 backward compatibility
@@ -33,9 +33,6 @@
#include <sys/sockio.h>
#include <sys/un.h>
-#ifndef NOALIAS
-#include <alias.h>
-#endif
#include <fcntl.h>
#include <resolv.h>
#include <stdlib.h>
@@ -44,6 +41,13 @@
#include <termios.h>
#include <unistd.h>
+#ifndef NOALIAS
+#ifdef __OpenBSD__
+#include "alias.h"
+#else
+#include <alias.h>
+#endif
+#endif
#include "ua.h"
#include "defs.h"
#include "command.h"
OpenPOWER on IntegriCloud