diff options
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 |