aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtnw.c1
-rw-r--r--location.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/gtnw.c b/gtnw.c
index adf6b9e..e481ec3 100644
--- a/gtnw.c
+++ b/gtnw.c
@@ -5,6 +5,7 @@
#include <curses.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
static bool surrender=false;
static int winner=0; /* on surrender */
diff --git a/location.h b/location.h
index ed9e4ff..c772e06 100644
--- a/location.h
+++ b/location.h
@@ -1,4 +1,5 @@
-/* provide the GTNW with some geographical data to draw the missiles */
+#include <stdbool.h>
+/* provide the GTNW with some geographical data to draw the missiles with */
enum player_t { USA=1, USSR };
struct location_t {
const char* name;