summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-10-28 13:04:35 +0000
committerSimon Josefsson <simon@josefsson.org>2005-10-28 13:04:35 +0000
commit74da3ed3d20189e3db42ddf8c587474ddde317ab (patch)
tree66f66856d18f1a3a77a6efb6e2110307b4c5216b
parentde9a75e3f468246da946465b51bbb85ec05bd10a (diff)
downloadgnutls-74da3ed3d20189e3db42ddf8c587474ddde317ab.tar.gz
Update.
-rw-r--r--gl/inet_ntop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gl/inet_ntop.h b/gl/inet_ntop.h
index 6565f0bade..de730b15cc 100644
--- a/gl/inet_ntop.h
+++ b/gl/inet_ntop.h
@@ -16,6 +16,9 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
#include <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif