summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:34:46 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:34:46 +0000
commit41f7ea3aff70fc2b78a900c7f3b164e1e07122ce (patch)
tree55488b52cb33a71fd5a7ba09863aed1ac4008ecb
parenteaca4dba5f7457742a7874f1ed84fcbffd821195 (diff)
Pull in <stdio.h> for NULL
ok deraadt@
-rw-r--r--games/battlestar/globals.c3
-rw-r--r--games/battlestar/words.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/games/battlestar/globals.c b/games/battlestar/globals.c
index 72fdc9e741d..25e57c18deb 100644
--- a/games/battlestar/globals.c
+++ b/games/battlestar/globals.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: globals.c,v 1.14 2013/04/05 01:28:27 tedu Exp $ */
+/* $OpenBSD: globals.c,v 1.15 2016/08/27 03:34:45 guenther Exp $ */
/* $NetBSD: globals.c,v 1.3 1995/03/21 15:07:32 cgd Exp $ */
/*
@@ -30,6 +30,7 @@
* SUCH DAMAGE.
*/
+#include <stdio.h> /* NULL */
#include "extern.h"
int WEIGHT = MAXWEIGHT;
diff --git a/games/battlestar/words.c b/games/battlestar/words.c
index 5afd4daddcc..8c69d178e3f 100644
--- a/games/battlestar/words.c
+++ b/games/battlestar/words.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: words.c,v 1.10 2009/10/27 23:59:24 deraadt Exp $ */
+/* $OpenBSD: words.c,v 1.11 2016/08/27 03:34:45 guenther Exp $ */
/* $NetBSD: words.c,v 1.3 1995/03/21 15:08:00 cgd Exp $ */
/*
@@ -30,6 +30,7 @@
* SUCH DAMAGE.
*/
+#include <stdio.h> /* NULL */
#include "extern.h"
struct wlist wlist[] = {