about summary refs log tree commit diff
path: root/support/support_format_hostent.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/support_format_hostent.c')
-rw-r--r--support/support_format_hostent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/support_format_hostent.c b/support/support_format_hostent.c
index 108cd35de6..5c90692caf 100644
--- a/support/support_format_hostent.c
+++ b/support/support_format_hostent.c
@@ -18,6 +18,7 @@
 
 #include <support/format_nss.h>
 
+#include <sys/socket.h>
 #include <arpa/inet.h>
 #include <errno.h>
 #include <stdio.h>