summaryrefslogtreecommitdiffstats
path: root/fortune/strfile/strfile.c
diff options
context:
space:
mode:
authoragc <agc@NetBSD.org>2008-09-29 12:30:12 +0000
committeragc <agc@NetBSD.org>2008-09-29 12:30:12 +0000
commit81336ce046c84fb91e0242bd6aca8a61eb0dde74 (patch)
tree8281a88a2cf0a675d4c733af999592e14f132b69 /fortune/strfile/strfile.c
parent7a0f5ec1de1057b60661660f8281c5f2c6a9eabb (diff)
downloadbsdgames-darwin-81336ce046c84fb91e0242bd6aca8a61eb0dde74.tar.gz
bsdgames-darwin-81336ce046c84fb91e0242bd6aca8a61eb0dde74.tar.zst
bsdgames-darwin-81336ce046c84fb91e0242bd6aca8a61eb0dde74.zip
Make this build on Mac OS X.
Diffstat (limited to 'fortune/strfile/strfile.c')
-rw-r--r--fortune/strfile/strfile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c
index 9d2ae2ff..c58a5519 100644
--- a/fortune/strfile/strfile.c
+++ b/fortune/strfile/strfile.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strfile.c,v 1.27 2008/09/26 13:46:48 apb Exp $ */
+/* $NetBSD: strfile.c,v 1.28 2008/09/29 12:30:12 agc Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\
#if 0
static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: strfile.c,v 1.27 2008/09/26 13:46:48 apb Exp $");
+__RCSID("$NetBSD: strfile.c,v 1.28 2008/09/29 12:30:12 agc Exp $");
#endif
#endif /* not lint */
#endif /* __NetBSD__ */
@@ -58,6 +58,7 @@ __RCSID("$NetBSD: strfile.c,v 1.27 2008/09/26 13:46:48 apb Exp $");
# include <string.h>
# include <time.h>
# include <unistd.h>
+# include <inttypes.h>
# include "strfile.h"