aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/getconf.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/getconf.tproj')
-rw-r--r--system_cmds/getconf.tproj/Makefile3
-rw-r--r--system_cmds/getconf.tproj/getconf.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/system_cmds/getconf.tproj/Makefile b/system_cmds/getconf.tproj/Makefile
index a5b230d..3ba6329 100644
--- a/system_cmds/getconf.tproj/Makefile
+++ b/system_cmds/getconf.tproj/Makefile
@@ -35,7 +35,6 @@ conflicting.names: confstr.names limits.names sysconf.names
unique.names: conflicting.names
LC_ALL=C sort -u ${.ALLSRC} >${.TARGET}
-HAS_TESTS=
-SUBDIR.${MK_TESTS}+= tests
+LDADD+=-liosexec
.include <bsd.prog.mk>
diff --git a/system_cmds/getconf.tproj/getconf.c b/system_cmds/getconf.tproj/getconf.c
index b2a2752..6af99f7 100644
--- a/system_cmds/getconf.tproj/getconf.c
+++ b/system_cmds/getconf.tproj/getconf.c
@@ -39,6 +39,8 @@ __FBSDID("$FreeBSD: src/usr.bin/getconf/getconf.c,v 1.10 2006/12/06 12:00:26 max
#include <sysexits.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "getconf.h"
static void do_confstr(const char *name, int key);