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/Makefile5
-rw-r--r--system_cmds/sc_usage.tproj/sc_usage.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/system_cmds/sc_usage.tproj/Makefile b/system_cmds/sc_usage.tproj/Makefile
new file mode 100644
index 0000000..3cf5de4
--- /dev/null
+++ b/system_cmds/sc_usage.tproj/Makefile
@@ -0,0 +1,5 @@
+PROG= sc_usage
+
+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