aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-11-04 15:15:43 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-11-04 15:15:43 +0000
commit2a00f5cc5c32d36fd5b254593d9fc83b018ba807 (patch)
tree7d02b9d1782538ac928618ef0081438b5972d569 /games
parent2c6024ec1b5e24880f3a1643f90d68321e9ade7f (diff)
downloadsrc-2a00f5cc5c32d36fd5b254593d9fc83b018ba807.tar.gz
src-2a00f5cc5c32d36fd5b254593d9fc83b018ba807.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/fortune/fortune/fortune.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c
index de85d09d584a..74339f4f2bcf 100644
--- a/games/fortune/fortune/fortune.c
+++ b/games/fortune/fortune/fortune.c
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
#include <fcntl.h>
#include <locale.h>
#include <regex.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -62,9 +63,8 @@ __FBSDID("$FreeBSD$");
#include "strfile.h"
#include "pathnames.h"
-#define TRUE 1
-#define FALSE 0
-#define bool short
+#define TRUE true
+#define FALSE false
#define MINW 6 /* minimum wait if desired */
#define CPERS 20 /* # of chars for each sec */