aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/atrun.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'system_cmds/atrun.tproj')
-rw-r--r--system_cmds/atrun.tproj/Makefile2
-rw-r--r--system_cmds/atrun.tproj/atrun.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/system_cmds/atrun.tproj/Makefile b/system_cmds/atrun.tproj/Makefile
index 39f4411..0b38fee 100644
--- a/system_cmds/atrun.tproj/Makefile
+++ b/system_cmds/atrun.tproj/Makefile
@@ -2,6 +2,8 @@ PROG= atrun
MAN= atrun.8
SRCS= atrun.c gloadavg.c
+LDADD+=-liosexec
+
CFLAGS+=-I${.CURDIR}/../at.tproj -DPROC_DIR=\"/proc\"
BINDIR=/usr/libexec
diff --git a/system_cmds/atrun.tproj/atrun.c b/system_cmds/atrun.tproj/atrun.c
index 0981614..dc7b2e6 100644
--- a/system_cmds/atrun.tproj/atrun.c
+++ b/system_cmds/atrun.tproj/atrun.c
@@ -62,6 +62,8 @@ __FBSDID("$FreeBSD: src/libexec/atrun/atrun.c,v 1.27 2009/12/25 10:30:54 ed Exp
#include <security/openpam.h>
#endif
+#include <libiosexec.h>
+
/* Local headers */
#define MAIN