summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/fake-addrinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h
index eec9e4bc11..19c212ab2d 100644
--- a/src/include/fake-addrinfo.h
+++ b/src/include/fake-addrinfo.h
@@ -1030,8 +1030,8 @@ fake_getnameinfo (const struct sockaddr *sa, socklen_t len,
}
#endif
-#if defined(HAVE_FAKE_GETADDRINFO) || defined(NEED_FAKE_GETNAMEINFO)
#include <errno.h>
+#if defined(HAVE_FAKE_GETADDRINFO) || defined(NEED_FAKE_GETNAMEINFO)
static inline
char *gai_strerror (int code)