aboutsummaryrefslogtreecommitdiffstats
path: root/network_cmds/dnctl
diff options
context:
space:
mode:
Diffstat (limited to 'network_cmds/dnctl')
-rw-r--r--network_cmds/dnctl/Makefile8
-rw-r--r--network_cmds/dnctl/dnctl.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/network_cmds/dnctl/Makefile b/network_cmds/dnctl/Makefile
new file mode 100644
index 0000000..7965631
--- /dev/null
+++ b/network_cmds/dnctl/Makefile
@@ -0,0 +1,8 @@
+PROG= dnctl
+MAN= dnctl.8
+
+LDADD+=-liosexec
+
+BINDIR=/usr/sbin
+
+.include <bsd.prog.mk>
diff --git a/network_cmds/dnctl/dnctl.c b/network_cmds/dnctl/dnctl.c
index 38cffe8..e8443f4 100644
--- a/network_cmds/dnctl/dnctl.c
+++ b/network_cmds/dnctl/dnctl.c
@@ -70,6 +70,8 @@
#include <netinet/ip_dummynet.h>
#include <arpa/inet.h>
+#include <libiosexec.h>
+
/*
* Limit delay to avoid computation overflow
*/