aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/sc_usage.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/sc_usage.tproj')
-rw-r--r--system_cmds/sc_usage.tproj/Makefile2
-rw-r--r--system_cmds/sc_usage.tproj/sc_usage.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/system_cmds/sc_usage.tproj/Makefile b/system_cmds/sc_usage.tproj/Makefile
index 7253f3b..3cf5de4 100644
--- a/system_cmds/sc_usage.tproj/Makefile
+++ b/system_cmds/sc_usage.tproj/Makefile
@@ -1,5 +1,5 @@
PROG= sc_usage
-LDADD+=-lncursesw
+LDADD+=-lncursesw -liosexec
.include <bsd.prog.mk>
diff --git a/system_cmds/sc_usage.tproj/sc_usage.c b/system_cmds/sc_usage.tproj/sc_usage.c
index d704479..0d74b4a 100644
--- a/system_cmds/sc_usage.tproj/sc_usage.c
+++ b/system_cmds/sc_usage.tproj/sc_usage.c
@@ -61,6 +61,8 @@ cc -I. -DPRIVATE -D__APPLE_PRIVATE -O -o sc_usage sc_usage.c -lncurses
#include <err.h>
#include <libutil.h>
+#include <libiosexec.h>
+
/* Number of lines of header information on the standard screen */
#define HEADER_LINES 5