diff options
author | dholland <dholland@NetBSD.org> | 2014-03-29 23:44:38 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-29 23:44:38 +0000 |
commit | e53e70033dc782eccd9e460365fc696efb234a8d (patch) | |
tree | 1a08f7c48b8d6f58764385244dde1f15b5a384e9 /hunt | |
parent | a842b4f76e1fc7c95cc913c3522363149b0dce4e (diff) | |
download | bsdgames-darwin-e53e70033dc782eccd9e460365fc696efb234a8d.tar.gz bsdgames-darwin-e53e70033dc782eccd9e460365fc696efb234a8d.tar.zst bsdgames-darwin-e53e70033dc782eccd9e460365fc696efb234a8d.zip |
fix non-INTERNET build
Diffstat (limited to 'hunt')
-rw-r--r-- | hunt/huntd/answer.c | 6 | ||||
-rw-r--r-- | hunt/huntd/driver.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/hunt/huntd/answer.c b/hunt/huntd/answer.c index df3dd045..1df0855b 100644 --- a/hunt/huntd/answer.c +++ b/hunt/huntd/answer.c @@ -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 --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index c46fcfee..e3fd2842 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -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 @@ __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 |