summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-09-07 06:28:00 +0000
committermarcel <marcel@FreeBSD.org>2004-09-07 06:28:00 +0000
commit37548aa2445af21ed330d3f27f8abdb2416d3ace (patch)
treee3865beabef52f54479c88cf83d178be3c02473f /usr.sbin/ppp
parent9abf65de5df57400ec4757defa82d72f4afafacc (diff)
downloadFreeBSD-src-37548aa2445af21ed330d3f27f8abdb2416d3ace.zip
FreeBSD-src-37548aa2445af21ed330d3f27f8abdb2416d3ace.tar.gz
Fix the NOSUID build: make sure we have the kldload(2) prototype.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/id.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h
index 409da49..6125ab5 100644
--- a/usr.sbin/ppp/id.h
+++ b/usr.sbin/ppp/id.h
@@ -83,6 +83,8 @@ extern int ID0NgMkSockNode(const char *, int *, int *);
connect(s, (const struct sockaddr *)(n), sizeof *(n))
#define ID0kill kill
#if defined(__FreeBSD__) && !defined(NOKLDLOAD)
+#include <sys/param.h>
+#include <sys/linker.h>
#define ID0kldload kldload
#endif
#ifndef NONETGRAPH
OpenPOWER on IntegriCloud