diff options
author | marcel <marcel@FreeBSD.org> | 2004-09-07 06:28:00 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-09-07 06:28:00 +0000 |
commit | 37548aa2445af21ed330d3f27f8abdb2416d3ace (patch) | |
tree | e3865beabef52f54479c88cf83d178be3c02473f /usr.sbin/ppp | |
parent | 9abf65de5df57400ec4757defa82d72f4afafacc (diff) | |
download | FreeBSD-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.h | 2 |
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 |