summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 03:34:45 +0000
committerguenther <guenther@openbsd.org>2016-08-27 03:34:45 +0000
commitab29a6f4723eefc7958b701b7630f06cd8510e9a (patch)
tree819dfc01460978b93f3c6ceef944679a868643da
parentsome updates for recent changes. (diff)
downloadwireguard-openbsd-ab29a6f4723eefc7958b701b7630f06cd8510e9a.tar.xz
wireguard-openbsd-ab29a6f4723eefc7958b701b7630f06cd8510e9a.zip
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[] = {