Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/hunt/huntd fix non-INTERNET build



details:   https://anonhg.NetBSD.org/src/rev/7db59ce2b51b
branches:  trunk
changeset: 328264:7db59ce2b51b
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 29 23:44:38 2014 +0000

description:
fix non-INTERNET build

diffstat:

 games/hunt/huntd/answer.c |  6 ++++--
 games/hunt/huntd/driver.c |  8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r 8f180fb32bf2 -r 7db59ce2b51b games/hunt/huntd/answer.c
--- a/games/hunt/huntd/answer.c Sat Mar 29 23:44:37 2014 +0000
+++ b/games/hunt/huntd/answer.c Sat Mar 29 23:44:38 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: answer.c,v 1.18 2014/03/29 22:29:55 dholland Exp $     */
+/*     $NetBSD: answer.c,v 1.19 2014/03/29 23:44:38 dholland Exp $     */
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
  * All rights reserved.
@@ -32,9 +32,11 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: answer.c,v 1.18 2014/03/29 22:29:55 dholland Exp $");
+__RCSID("$NetBSD: answer.c,v 1.19 2014/03/29 23:44:38 dholland Exp $");
 #endif /* not lint */
 
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
diff -r 8f180fb32bf2 -r 7db59ce2b51b games/hunt/huntd/driver.c
--- a/games/hunt/huntd/driver.c Sat Mar 29 23:44:37 2014 +0000
+++ b/games/hunt/huntd/driver.c Sat Mar 29 23:44:38 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: driver.c,v 1.32 2014/03/29 22:29:55 dholland Exp $     */
+/*     $NetBSD: driver.c,v 1.33 2014/03/29 23:44:38 dholland Exp $     */
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
  * All rights reserved.
@@ -32,10 +32,11 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: driver.c,v 1.32 2014/03/29 22:29:55 dholland Exp $");
+__RCSID("$NetBSD: driver.c,v 1.33 2014/03/29 23:44:38 dholland Exp $");
 #endif /* not lint */
 
-#include <sys/ioctl.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <err.h>
@@ -47,7 +48,6 @@
 #include "hunt.h"
 #include "pathnames.h"
 
-
 #ifdef INTERNET
 static uint16_t Test_port = TEST_PORT;
 #else



Home | Main Index | Thread Index | Old Index