summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/radius.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/radius.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/radius.c')
-rw-r--r--usr.sbin/ppp/radius.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ppp/radius.c b/usr.sbin/ppp/radius.c
index d3f51c8..cac6b6e 100644
--- a/usr.sbin/ppp/radius.c
+++ b/usr.sbin/ppp/radius.c
@@ -36,8 +36,13 @@
#include <sys/un.h>
#include <net/route.h>
-#include <errno.h>
+#ifdef LOCALRAD
+#include "radlib.h"
+#else
#include <radlib.h>
+#endif
+
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud