aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network_cmds/dnctl/Makefile2
-rw-r--r--network_cmds/dnctl/dnctl.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/network_cmds/dnctl/Makefile b/network_cmds/dnctl/Makefile
index 6cde7cc..7965631 100644
--- a/network_cmds/dnctl/Makefile
+++ b/network_cmds/dnctl/Makefile
@@ -1,6 +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
*/