From 3b39173d4b74695129752c9c25cfc3d9fd49b997 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Tue, 7 Sep 2004 06:28:00 +0000 Subject: [PATCH] Fix the NOSUID build: make sure we have the kldload(2) prototype. --- usr.sbin/ppp/id.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/ppp/id.h b/usr.sbin/ppp/id.h index 409da49b3008..6125ab505754 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 +#include #define ID0kldload kldload #endif #ifndef NONETGRAPH