summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-07-13 10:35:19 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-07-13 10:35:19 +0000
commitb5d93cd0daa70b891b5bbe2626cfd3ac4ef960b3 (patch)
tree8f43ff0836e1c42eb5443d0bc1b7c3e8bbaac161 /src
parent29f164500488ac53828c6b107a5221f988f94b53 (diff)
2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch. * src/gai_strerror.h
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