summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl/ngctl.h
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1999-10-27 22:17:18 +0000
committerarchie <archie@FreeBSD.org>1999-10-27 22:17:18 +0000
commit869bd7a8e7f60349be187b9ec6cdc090b695ff0d (patch)
treeaf16742e0fea4939917cf29be23df6bc9d0eae7e /usr.sbin/ngctl/ngctl.h
parent053f9da1114d571b390e3b3c8b8e61b5098320e3 (diff)
downloadFreeBSD-src-869bd7a8e7f60349be187b9ec6cdc090b695ff0d.zip
FreeBSD-src-869bd7a8e7f60349be187b9ec6cdc090b695ff0d.tar.gz
If we get an EPROTONOSUPP error when trying to create the netgraph socket
node, it's most likely because the "ng_socket.ko" KLD is not loaded yet. So make an attempt to load it before giving up.
Diffstat (limited to 'usr.sbin/ngctl/ngctl.h')
-rw-r--r--usr.sbin/ngctl/ngctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ngctl/ngctl.h b/usr.sbin/ngctl/ngctl.h
index 64ba3db..817c6e8 100644
--- a/usr.sbin/ngctl/ngctl.h
+++ b/usr.sbin/ngctl/ngctl.h
@@ -38,9 +38,11 @@
*/
#include <sys/types.h>
+#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <sys/select.h>
+#include <sys/linker.h>
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud