summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-10-23 17:45:11 +0000
committerdillon <dillon@FreeBSD.org>1999-10-23 17:45:11 +0000
commit405fc1165a74f692670f70b4749507b6a98f08ec (patch)
tree2d6552bb27e372ecdc48de66b90687e26045baa9 /usr.sbin
parentb6ebb73004de327dc34a9cb5b12dd55f933a8e20 (diff)
downloadFreeBSD-src-405fc1165a74f692670f70b4749507b6a98f08ec.zip
FreeBSD-src-405fc1165a74f692670f70b4749507b6a98f08ec.tar.gz
Cleanup missing includes, stale includes, and a few printf format
inconsistancies.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ngctl/ngctl.h2
-rw-r--r--usr.sbin/nghook/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ngctl/ngctl.h b/usr.sbin/ngctl/ngctl.h
index b0fce23..3f68422 100644
--- a/usr.sbin/ngctl/ngctl.h
+++ b/usr.sbin/ngctl/ngctl.h
@@ -52,8 +52,8 @@
#include <errno.h>
#include <err.h>
-#include <netgraph.h>
#include <netgraph/ng_socket.h>
+#include <netgraph/ng_message.h>
/* Command descriptors */
struct ngcmd {
diff --git a/usr.sbin/nghook/main.c b/usr.sbin/nghook/main.c
index ce29d9d..1244b02 100644
--- a/usr.sbin/nghook/main.c
+++ b/usr.sbin/nghook/main.c
@@ -51,7 +51,7 @@
#include <sys/socket.h>
#include <sys/select.h>
-#include <netgraph.h>
+#include <netgraph/ng_message.h>
#define DEFAULT_HOOKNAME "debug"
#define NG_SOCK_HOOK_NAME "hook"
OpenPOWER on IntegriCloud