]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
fix non-INTERNET build
authordholland <dholland@NetBSD.org>
Sat, 29 Mar 2014 23:44:38 +0000 (23:44 +0000)
committerdholland <dholland@NetBSD.org>
Sat, 29 Mar 2014 23:44:38 +0000 (23:44 +0000)
hunt/huntd/answer.c
hunt/huntd/driver.c

index df3dd045e866d6b3e705f9325242d6b161967cc0..1df0855be7bcbf20f96b2082e38b8c320804bade 100644 (file)
@@ -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.
 
 #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>
index c46fcfee905116a6147e4a8942cf70a617389523..e3fd2842ae4ec83e0b25eebde66a10f783562c80 100644 (file)
@@ -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.
 
 #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 @@ __RCSID("$NetBSD: driver.c,v 1.32 2014/03/29 22:29:55 dholland Exp $");
 #include "hunt.h"
 #include "pathnames.h"
 
-
 #ifdef INTERNET
 static uint16_t Test_port = TEST_PORT;
 #else