summaryrefslogtreecommitdiffstats
path: root/phantasia/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'phantasia/main.c')
-rw-r--r--phantasia/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/phantasia/main.c b/phantasia/main.c
index c8850da8..6fd3f727 100644
--- a/phantasia/main.c
+++ b/phantasia/main.c
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <time.h>
#include "macros.h"
#include "phantdefs.h"
@@ -44,6 +45,8 @@
#include "phantglobs.h"
#include "pathnames.h"
+#define __unreachable() __builtin_unreachable()
+
#undef bool
#include <curses.h>