Try to build with IPv6 by default.
authorEmil Mikulic <emikulic@gmail.com>
Sat, 23 Jan 2016 08:55:33 +0000 (19:55 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Sat, 23 Jan 2016 08:55:33 +0000 (19:55 +1100)
darkhttpd.c

index 0a10314..66bbd5a 100644 (file)
@@ -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;