From a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 13 May 2021 15:11:43 -0400 Subject: system_cmds: use libiosexec --- system_cmds/atrun.tproj/Makefile | 2 ++ system_cmds/atrun.tproj/atrun.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'system_cmds/atrun.tproj') 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 #endif +#include + /* Local headers */ #define MAIN -- cgit v1.2.3