]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
misc_cmds: use libiosexec
authorCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 18:58:51 +0000 (14:58 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 19:16:03 +0000 (15:16 -0400)
misc_cmds/calendar/Makefile
misc_cmds/calendar/io.c

index f98beae43126300161898bfce4d5545455a11591..1b47615e66fe340b5f5fe250861d61842b646924 100644 (file)
@@ -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>
index 6c8f4d21fd7f0c71df162a81806da5a43002c434..5af44e020648a79ad2f520999950a36e64e9ad07 100644 (file)
@@ -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"