summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-08-18 00:01:44 +0000
committerbrian <brian@FreeBSD.org>2000-08-18 00:01:44 +0000
commitbac59a32d06fce1477c920a3c8aad60f73ae9af9 (patch)
tree7688894f80a2ddf31d01f87489e92fffb7e1953c /usr.sbin/ppp/physical.c
parentc0049c3df2bfda77644542cc72cd5d7949841805 (diff)
downloadFreeBSD-src-bac59a32d06fce1477c920a3c8aad60f73ae9af9.zip
FreeBSD-src-bac59a32d06fce1477c920a3c8aad60f73ae9af9.tar.gz
Make -DNOSUID (or -DPPP_NOSUID) possible to build ppp without SUID
capabilities.
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r--usr.sbin/ppp/physical.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c
index ab0fb53..30fed48 100644
--- a/usr.sbin/ppp/physical.c
+++ b/usr.sbin/ppp/physical.c
@@ -29,6 +29,9 @@
#include <errno.h>
#include <fcntl.h>
#include <paths.h>
+#ifdef NOSUID
+#include <signal.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud