summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-utils/Makefile.am9
-rw-r--r--sys-utils/renice.c1
2 files changed, 6 insertions, 4 deletions
diff --git a/sys-utils/Makefile.am b/sys-utils/Makefile.am
index 7d3ab8cf..8a703a5a 100644
--- a/sys-utils/Makefile.am
+++ b/sys-utils/Makefile.am
@@ -3,19 +3,20 @@ include $(top_srcdir)/config/include-Makefile.am
bin_PROGRAMS =
sbin_PROGRAMS =
usrsbin_exec_PROGRAMS =
-usrbin_exec_PROGRAMS = flock
+usrbin_exec_PROGRAMS = flock renice
-dist_man_MANS = flock.1
+dist_man_MANS = flock.1 renice.1
flock_LDADD = -L$(top_builddir)/gnulib -lgnu
+renice_LDADD = -L$(top_builddir)/gnulib -lgnu
if LINUX
bin_PROGRAMS += dmesg
sbin_PROGRAMS += ctrlaltdel fsfreeze fstrim
usrbin_exec_PROGRAMS += cytune setarch
usrsbin_exec_PROGRAMS += ldattach tunelp rtcwake readprofile
-usrbin_exec_PROGRAMS += ipcrm ipcs ipcmk renice setsid
-dist_man_MANS += ipcrm.1 ipcs.1 ipcmk.1 renice.1 setsid.1 \
+usrbin_exec_PROGRAMS += ipcrm ipcs ipcmk setsid
+dist_man_MANS += ipcrm.1 ipcs.1 ipcmk.1 setsid.1 \
readprofile.1
dist_man_MANS += dmesg.1 ctrlaltdel.8 cytune.8 setarch.8 \
diff --git a/sys-utils/renice.c b/sys-utils/renice.c
index 6b1a9726..c2b6fc24 100644
--- a/sys-utils/renice.c
+++ b/sys-utils/renice.c
@@ -45,6 +45,7 @@
#include <string.h>
#include <errno.h>
#include <err.h>
+#include <argp.h>
#include "nls.h"
static int donice(int,int,int);