aboutsummaryrefslogtreecommitdiff
path: root/ares/setup_once.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares/setup_once.h')
-rw-r--r--ares/setup_once.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ares/setup_once.h b/ares/setup_once.h
index d3159904f..e1c5af278 100644
--- a/ares/setup_once.h
+++ b/ares/setup_once.h
@@ -222,6 +222,13 @@ struct timeval {
#endif /* HAVE_RECVFROM */
+#ifdef RECVFROM_TYPE_ARG6_IS_VOID
+# define RECVFROM_ARG6_T unsigned int
+#else
+# define RECVFROM_ARG6_T RECVFROM_TYPE_ARG6
+#endif
+
+
/*
* Uppercase macro versions of ANSI/ISO is*() functions/macros which
* avoid negative number inputs with argument byte codes > 127.