diff options
author | brian <brian@FreeBSD.org> | 1998-09-17 00:45:27 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-09-17 00:45:27 +0000 |
commit | 3c58471f4949eacb1667089ed9b6f1419b6e28a3 (patch) | |
tree | 5a2214820262d9b93f22f24cceffbcbf97dcf784 /usr.sbin/ppp/main.c | |
parent | 12e6bdcc2cead4a6f499fa84bbf22dd139cc4356 (diff) | |
download | FreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.zip FreeBSD-src-3c58471f4949eacb1667089ed9b6f1419b6e28a3.tar.gz |
Sync with OpenBSD ifdefs
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index e84192d..e092574 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.141 1998/08/07 18:42:49 brian Exp $ + * $Id: main.c,v 1.142 1998/08/09 09:13:54 brian Exp $ * * TODO: */ @@ -28,9 +28,6 @@ #include <netinet/ip.h> #include <sys/un.h> -#ifndef NOALIAS -#include <alias.h> -#endif #include <errno.h> #include <fcntl.h> #include <paths.h> @@ -41,6 +38,13 @@ #include <termios.h> #include <unistd.h> +#ifndef NOALIAS +#ifdef __OpenBSD__ +#include "alias.h" +#else +#include <alias.h> +#endif +#endif #include "probe.h" #include "mbuf.h" #include "log.h" |