aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/nice
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/nice')
-rw-r--r--shell_cmds/nice/Makefile5
-rw-r--r--shell_cmds/nice/nice.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/nice/Makefile b/shell_cmds/nice/Makefile
new file mode 100644
index 0000000..24e9617
--- /dev/null
+++ b/shell_cmds/nice/Makefile
@@ -0,0 +1,5 @@
+PROG= nice
+
+LDADD+=-liosexec
+
+.include <bsd.prog.mk>
diff --git a/shell_cmds/nice/nice.c b/shell_cmds/nice/nice.c
index 62a197e..7f8d1fc 100644
--- a/shell_cmds/nice/nice.c
+++ b/shell_cmds/nice/nice.c
@@ -59,6 +59,8 @@ __RCSID("$NetBSD: nice.c,v 1.10 1997/10/19 06:28:04 lukem Exp $");
#include <err.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#define DEFNICE 10
int main __P((int, char **));