summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 de85d09..74339f4 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 */
OpenPOWER on IntegriCloud