mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 01:03:42 +00:00
Fix the NOSUID build: make sure we have the kldload(2) prototype.
This commit is contained in:
parent
1cb95340ee
commit
3b39173d4b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134885
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue