From 321f13e90834f52aae0ed658d0defc4a904e4d72 Mon Sep 17 00:00:00 2001 From: Cameron Katri <me@cameronkatri.com> Date: Thu, 13 May 2021 14:58:51 -0400 Subject: [PATCH] misc_cmds: use libiosexec --- misc_cmds/calendar/Makefile | 2 ++ misc_cmds/calendar/io.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/misc_cmds/calendar/Makefile b/misc_cmds/calendar/Makefile index f98beae..1b47615 100644 --- a/misc_cmds/calendar/Makefile +++ b/misc_cmds/calendar/Makefile @@ -7,4 +7,6 @@ SRCS= calendar.c day.c io.c ostern.c paskha.c FILES= calendars/calendar.freebsd FILESDIR= ${SHAREDIR}/calendar +LDADD+=-liosexec + .include <bsd.prog.mk> diff --git a/misc_cmds/calendar/io.c b/misc_cmds/calendar/io.c index 6c8f4d2..5af44e0 100644 --- a/misc_cmds/calendar/io.c +++ b/misc_cmds/calendar/io.c @@ -63,6 +63,8 @@ __FBSDID("$FreeBSD: src/usr.bin/calendar/io.c,v 1.24 2007/12/30 22:04:04 grog Ex #include <string.h> #include <unistd.h> +#include <libiosexec.h> + #include "pathnames.h" #include "calendar.h" -- 2.47.1