summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gai_strerror.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gai_strerror.h b/src/gai_strerror.h
index 664e5ec8..cf69af29 100644
--- a/src/gai_strerror.h
+++ b/src/gai_strerror.h
@@ -37,6 +37,10 @@ extern "C" {
# undef SIZE_MAX
#endif // __MINGW32__
+#ifndef EAI_SYSTEM
+# define EAI_SYSTEM -11 /* System error returned in `errno'. */
+#endif
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif // HAVE_CONFIG_H