aboutsummaryrefslogtreecommitdiffstats
path: root/misc_cmds/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'misc_cmds/calendar')
-rw-r--r--misc_cmds/calendar/Makefile12
-rw-r--r--misc_cmds/calendar/io.c2
2 files changed, 14 insertions, 0 deletions
diff --git a/misc_cmds/calendar/Makefile b/misc_cmds/calendar/Makefile
new file mode 100644
index 0000000..1b47615
--- /dev/null
+++ b/misc_cmds/calendar/Makefile
@@ -0,0 +1,12 @@
+# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
+
+PROG= calendar
+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"