Module Name: src Committed By: dholland Date: Sat Mar 29 23:44:38 UTC 2014
Modified Files: src/games/hunt/huntd: answer.c driver.c Log Message: fix non-INTERNET build To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/games/hunt/huntd/answer.c cvs rdiff -u -r1.32 -r1.33 src/games/hunt/huntd/driver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/hunt/huntd/answer.c diff -u src/games/hunt/huntd/answer.c:1.18 src/games/hunt/huntd/answer.c:1.19 --- src/games/hunt/huntd/answer.c:1.18 Sat Mar 29 22:29:55 2014 +++ src/games/hunt/huntd/answer.c Sat Mar 29 23:44:38 2014 @@ -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> Index: src/games/hunt/huntd/driver.c diff -u src/games/hunt/huntd/driver.c:1.32 src/games/hunt/huntd/driver.c:1.33 --- src/games/hunt/huntd/driver.c:1.32 Sat Mar 29 22:29:55 2014 +++ src/games/hunt/huntd/driver.c Sat Mar 29 23:44:38 2014 @@ -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/0 #include "hunt.h" #include "pathnames.h" - #ifdef INTERNET static uint16_t Test_port = TEST_PORT; #else