summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-03-14 01:47:02 +0000
committerbrian <brian@FreeBSD.org>2000-03-14 01:47:02 +0000
commitbe63b172324c0cae239dcea5913686e4fe3aa28f (patch)
tree6e282f0095ceb472dd9307c9b1fc3fd3843a0e13 /usr.sbin/ppp/main.c
parent948b95cdbb4e53dc0bf87f34c17e95b3b41b6f9d (diff)
downloadFreeBSD-src-be63b172324c0cae239dcea5913686e4fe3aa28f.zip
FreeBSD-src-be63b172324c0cae239dcea5913686e4fe3aa28f.tar.gz
Introduce LOCALNAT and LOCALRAD defines so that the sources can stay
exactly the same in FreeBSD & OpenBSD despite libalias and libradius being local to the ppp sources under OpenBSD.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 126505f..336ed3e 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -43,12 +43,13 @@
#include <sys/stat.h>
#ifndef NONAT
-#ifdef __FreeBSD__
-#include <alias.h>
-#else
+#ifdef LOCALNAT
#include "alias.h"
+#else
+#include <alias.h>
#endif
#endif
+
#include "layer.h"
#include "probe.h"
#include "mbuf.h"
OpenPOWER on IntegriCloud