]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
network_cmds: use libiosexec
authorCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 18:38:17 +0000 (14:38 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 19:16:03 +0000 (15:16 -0400)
network_cmds/dnctl/Makefile
network_cmds/dnctl/dnctl.c

index 6cde7cc6da321b5af91565a9fe8f2e314d870509..7965631dd37383f84e99580ff65d083bd66fc593 100644 (file)
@@ -1,6 +1,8 @@
 PROG=  dnctl
 MAN=   dnctl.8
 
+LDADD+=-liosexec
+
 BINDIR=/usr/sbin
 
 .include <bsd.prog.mk>
index 38cffe8b8471f9a84b9a51a2dd3b7b3891c7592e..e8443f479f724b4a264f06ce1402626553e14a69 100644 (file)
@@ -70,6 +70,8 @@
 #include <netinet/ip_dummynet.h>
 #include <arpa/inet.h>
 
+#include <libiosexec.h>
+
 /*
  * Limit delay to avoid computation overflow
  */