--- src/socklib/ipv6sock.cc	2016-06-30 15:53:03.000000000 -0500
+++ src/socklib/ipv6sock.cc.patched	2016-06-30 15:53:32.000000000 -0500
@@ -36,6 +36,10 @@
 #include <cstdlib>
 #include <cstring>
 
+// These aren't being defined in netdb.h for some reason.
+#define NI_MAXHOST 1025
+#define NI_MAXSERV 32
+
 extern "C" {
 #include "log.h"
 }
