Fix the NOSUID build: make sure we have the kldload(2) prototype.

This commit is contained in:
Marcel Moolenaar 2004-09-07 06:28:00 +00:00
parent 1cb95340ee
commit 3b39173d4b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134885

View file

@ -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