Commit 8f4473f7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Work-around to not use IPv6 for braindead unusable IPv6 implementations

parent 16b2dec1
...@@ -52,6 +52,11 @@ ...@@ -52,6 +52,11 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <pthread.h> #include <pthread.h>
#if defined (AF_INET6) && !defined (IPV6_V6ONLY)
# warning Uho, your IPv6 support is broken and has been disabled. Fix your C library.
# undef AF_INET6
#endif
/*#ifndef HAVE_CLEARENV /*#ifndef HAVE_CLEARENV
extern char **environ; extern char **environ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment