From 2ced9cac51e76675f3b73a5894040b73800d452a Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Sat, 23 Jan 2016 19:55:33 +1100 Subject: [PATCH] Try to build with IPv6 by default. --- darkhttpd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/darkhttpd.c b/darkhttpd.c index 0a10314..66bbd5a 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -21,6 +21,12 @@ static const char pkgname[] = "darkhttpd/1.11.from.git", copyright[] = "copyright (c) 2003-2016 Emil Mikulic"; +/* Possible build options: -DDEBUG -DNO_IPV6 */ + +#ifndef NO_IPV6 +# define HAVE_INET6 +#endif + #ifndef DEBUG # define NDEBUG static const int debug = 0;