diff options
author | dholland <dholland@NetBSD.org> | 2014-03-30 01:44:37 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-30 01:44:37 +0000 |
commit | 49c27d0ce015c82ce7d2e4c36edf731592406617 (patch) | |
tree | 0247b30075082387a28d534890b2b8518cbdb308 /hunt/huntd/hunt.h | |
parent | a91067b8ba82b43d07c7888f04b5d641a509561c (diff) | |
download | bsdgames-darwin-49c27d0ce015c82ce7d2e4c36edf731592406617.tar.gz bsdgames-darwin-49c27d0ce015c82ce7d2e4c36edf731592406617.tar.zst bsdgames-darwin-49c27d0ce015c82ce7d2e4c36edf731592406617.zip |
Remove all the conditional compilation for INTERNET. Now you can run
this on either a local or internet socket (including via inetd on
either) and it will, or is supposed to, DTRT.
Does not really support ipv6 yet, but in a number of places will no
longer vomit or exhibit UB if it encounters an ipv6 address.
Diffstat (limited to 'hunt/huntd/hunt.h')
-rw-r--r-- | hunt/huntd/hunt.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h index ab2dd56e..daff100b 100644 --- a/hunt/huntd/hunt.h +++ b/hunt/huntd/hunt.h @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.h,v 1.28 2014/03/30 00:26:58 dholland Exp $ */ +/* $NetBSD: hunt.h,v 1.29 2014/03/30 01:44:37 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -41,15 +41,6 @@ #include <sys/uio.h> #include <sys/poll.h> -#ifdef INTERNET -#include <netinet/in.h> -#include <netdb.h> -#include <arpa/inet.h> -#include <net/if.h> -#else -#include <sys/un.h> -#endif - #include "hunt_common.h" extern const int shot_req[]; |