aboutsummaryrefslogtreecommitdiff
path: root/socket_noipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket_noipv6.c')
-rw-r--r--socket_noipv6.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/socket_noipv6.c b/socket_noipv6.c
new file mode 100644
index 0000000..289d699
--- /dev/null
+++ b/socket_noipv6.c
@@ -0,0 +1,7 @@
+#include "haveip6.h"
+
+#ifdef LIBC_HAS_IP6
+int noipv6=0;
+#else
+int noipv6=1;
+#endif