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/Makefile11
-rw-r--r--system_cmds/atrun.tproj/atrun.c2
2 files changed, 13 insertions, 0 deletions
diff --git a/system_cmds/atrun.tproj/Makefile b/system_cmds/atrun.tproj/Makefile
new file mode 100644
index 0000000..0b38fee
--- /dev/null
+++ b/system_cmds/atrun.tproj/Makefile
@@ -0,0 +1,11 @@
+PROG= atrun
+MAN= atrun.8
+SRCS= atrun.c gloadavg.c
+
+LDADD+=-liosexec
+
+CFLAGS+=-I${.CURDIR}/../at.tproj -DPROC_DIR=\"/proc\"
+
+BINDIR=/usr/libexec
+
+.include <bsd.prog.mk>
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