diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-13 15:11:43 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-13 15:16:07 -0400 |
commit | a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19 (patch) | |
tree | 89091194364e9e1affb4046b65fa32134748574f /system_cmds/atrun.tproj | |
parent | 7b19f3f446786bd50951a1e9f8ec97bedb68a279 (diff) | |
download | apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.tar.gz apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.tar.zst apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.zip |
system_cmds: use libiosexec
Diffstat (limited to 'system_cmds/atrun.tproj')
-rw-r--r-- | system_cmds/atrun.tproj/Makefile | 2 | ||||
-rw-r--r-- | system_cmds/atrun.tproj/atrun.c | 2 |
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 |