summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:06:41 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 02:06:41 +0000
commitdd1efc4d8779a52b3e8288685a0c9af6b915f982 (patch)
tree92d4568bc7338d430c7a2e0f8bd7de1148503e7a /games
parentbc1af5a80764c3135905e2f6c5d76d95ac39bbfe (diff)
Pull in <sys/select.h> for fd_set
ok deraadt@
Diffstat (limited to 'games')
-rw-r--r--games/hunt/hunt/list.c3
-rw-r--r--games/hunt/hunt/playit.c3
-rw-r--r--games/hunt/huntd/answer.c4
-rw-r--r--games/hunt/huntd/conf.c3
-rw-r--r--games/hunt/huntd/draw.c3
-rw-r--r--games/hunt/huntd/execute.c3
-rw-r--r--games/hunt/huntd/expl.c3
-rw-r--r--games/hunt/huntd/extern.c3
-rw-r--r--games/hunt/huntd/makemaze.c3
-rw-r--r--games/hunt/huntd/shots.c3
-rw-r--r--games/hunt/huntd/terminal.c3
11 files changed, 23 insertions, 11 deletions
diff --git a/games/hunt/hunt/list.c b/games/hunt/hunt/list.c
index 50a00da2247..d4a02c5ab1f 100644
--- a/games/hunt/hunt/list.c
+++ b/games/hunt/hunt/list.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: list.c,v 1.8 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: list.c,v 1.9 2016/08/27 02:06:40 guenther Exp $ */
/*
* Copyright 2001, David Leonard. All rights reserved.
* Redistribution and use in source and binary forms with or without
@@ -7,6 +7,7 @@
*/
#include <sys/ioctl.h>
+#include <sys/select.h>
#include <sys/socket.h>
#include <arpa/inet.h>
diff --git a/games/hunt/hunt/playit.c b/games/hunt/hunt/playit.c
index b15014f4594..abd960edcdc 100644
--- a/games/hunt/hunt/playit.c
+++ b/games/hunt/hunt/playit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: playit.c,v 1.12 2016/01/10 13:35:09 mestre Exp $ */
+/* $OpenBSD: playit.c,v 1.13 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: playit.c,v 1.4 1997/10/20 00:37:15 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
diff --git a/games/hunt/huntd/answer.c b/games/hunt/huntd/answer.c
index 1c11e5dbed7..aad1845931f 100644
--- a/games/hunt/huntd/answer.c
+++ b/games/hunt/huntd/answer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: answer.c,v 1.20 2016/03/28 11:49:45 chl Exp $ */
+/* $OpenBSD: answer.c,v 1.21 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: answer.c,v 1.3 1997/10/10 16:32:50 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
+
#include <arpa/inet.h>
#include <netinet/in.h>
diff --git a/games/hunt/huntd/conf.c b/games/hunt/huntd/conf.c
index 26dfa531598..3947e559ee6 100644
--- a/games/hunt/huntd/conf.c
+++ b/games/hunt/huntd/conf.c
@@ -1,6 +1,7 @@
-/* $OpenBSD: conf.c,v 1.10 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: conf.c,v 1.11 2016/08/27 02:06:40 guenther Exp $ */
/* David Leonard <d@openbsd.org>, 1999. Public domain. */
+#include <sys/select.h>
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
diff --git a/games/hunt/huntd/draw.c b/games/hunt/huntd/draw.c
index 9c9c86b631b..63a8c565eb0 100644
--- a/games/hunt/huntd/draw.c
+++ b/games/hunt/huntd/draw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: draw.c,v 1.9 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: draw.c,v 1.10 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: draw.c,v 1.2 1997/10/10 16:33:04 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <string.h>
#include "conf.h"
diff --git a/games/hunt/huntd/execute.c b/games/hunt/huntd/execute.c
index a6af15c5290..c54cd4cc157 100644
--- a/games/hunt/huntd/execute.c
+++ b/games/hunt/huntd/execute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: execute.c,v 1.12 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: execute.c,v 1.13 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: execute.c,v 1.2 1997/10/10 16:33:13 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
diff --git a/games/hunt/huntd/expl.c b/games/hunt/huntd/expl.c
index 10cd97bfcb5..e7211e20ae1 100644
--- a/games/hunt/huntd/expl.c
+++ b/games/hunt/huntd/expl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expl.c,v 1.13 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: expl.c,v 1.14 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: expl.c,v 1.2 1997/10/10 16:33:18 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <stdlib.h>
#include <syslog.h>
#include <string.h>
diff --git a/games/hunt/huntd/extern.c b/games/hunt/huntd/extern.c
index 05a559d1e29..01756bd6ce6 100644
--- a/games/hunt/huntd/extern.c
+++ b/games/hunt/huntd/extern.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.c,v 1.5 2016/01/07 21:29:31 mestre Exp $ */
+/* $OpenBSD: extern.c,v 1.6 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: extern.c,v 1.2 1997/10/10 16:33:24 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include "hunt.h"
#include "server.h"
diff --git a/games/hunt/huntd/makemaze.c b/games/hunt/huntd/makemaze.c
index f6f5660d821..3d5df77978c 100644
--- a/games/hunt/huntd/makemaze.c
+++ b/games/hunt/huntd/makemaze.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: makemaze.c,v 1.8 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: makemaze.c,v 1.9 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: makemaze.c,v 1.2 1997/10/10 16:33:43 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <string.h>
#include "conf.h"
diff --git a/games/hunt/huntd/shots.c b/games/hunt/huntd/shots.c
index fea7e35f943..57191713b56 100644
--- a/games/hunt/huntd/shots.c
+++ b/games/hunt/huntd/shots.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: shots.c,v 1.12 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: shots.c,v 1.13 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: shots.c,v 1.3 1997/10/11 08:13:50 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <stdlib.h>
#include <syslog.h>
diff --git a/games/hunt/huntd/terminal.c b/games/hunt/huntd/terminal.c
index 258844155e7..1d374704aea 100644
--- a/games/hunt/huntd/terminal.c
+++ b/games/hunt/huntd/terminal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: terminal.c,v 1.12 2016/01/07 21:37:53 mestre Exp $ */
+/* $OpenBSD: terminal.c,v 1.13 2016/08/27 02:06:40 guenther Exp $ */
/* $NetBSD: terminal.c,v 1.2 1997/10/10 16:34:05 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -31,6 +31,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/select.h>
#include <err.h>
#include <stdarg.h>
#include <syslog.h>