summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/command.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/command.c
parent12e6bdcc2cead4a6f499fa84bbf22dd139cc4356 (diff)
downloadFreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.zip
FreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.tar.gz
Sync with OpenBSD ifdefs
Diffstat (limited to 'usr.sbin/ppp/command.c')
-rw-r--r--usr.sbin/ppp/command.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index fc9e26e..1b74fc5 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: command.c,v 1.164 1998/08/29 23:02:39 brian Exp $
+ * $Id: command.c,v 1.165 1998/08/29 23:02:42 brian Exp $
*
*/
#include <sys/types.h>
@@ -30,9 +30,6 @@
#include <netdb.h>
#include <sys/un.h>
-#ifndef NOALIAS
-#include <alias.h>
-#endif
#include <ctype.h>
#include <errno.h>
#include <fcntl.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 "defs.h"
#include "command.h"
#include "mbuf.h"
@@ -127,7 +131,7 @@
#define NEG_DNS 50
const char Version[] = "2.0";
-const char VersionDate[] = "$Date: 1998/08/29 23:02:39 $";
+const char VersionDate[] = "$Date: 1998/08/29 23:02:42 $";
static int ShowCommand(struct cmdargs const *);
static int TerminalCommand(struct cmdargs const *);
OpenPOWER on IntegriCloud