summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/nat_cmd.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/nat_cmd.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/nat_cmd.c')
-rw-r--r--usr.sbin/ppp/nat_cmd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index a2fb917..ed7876d 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -19,11 +19,12 @@
#include <string.h>
#include <termios.h>
-#ifdef __FreeBSD__
-#include <alias.h>
-#else
+#ifdef LOCALNAT
#include "alias.h"
+#else
+#include <alias.h>
#endif
+
#include "layer.h"
#include "proto.h"
#include "defs.h"
OpenPOWER on IntegriCloud