summaryrefslogtreecommitdiff
path: root/gl/arpa_inet.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/arpa_inet.in.h')
-rw-r--r--gl/arpa_inet.in.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gl/arpa_inet.in.h b/gl/arpa_inet.in.h
index 84a4006789..f17d642b84 100644
--- a/gl/arpa_inet.in.h
+++ b/gl/arpa_inet.in.h
@@ -23,6 +23,10 @@
#endif
@PRAGMA_COLUMNS@
+#if @HAVE_FEATURES_H@
+# include <features.h> /* for __GLIBC__ */
+#endif
+
/* Gnulib's sys/socket.h is responsible for pulling in winsock2.h etc
under MinGW.
But avoid namespace pollution on glibc systems. */