aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc_cmds/calendar/Makefile2
-rw-r--r--misc_cmds/calendar/io.c2
2 files changed, 4 insertions, 0 deletions
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"