about summary refs log tree commit diff
path: root/nss/nss_files/files-network.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nss_files/files-network.c')
-rw-r--r--nss/nss_files/files-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/nss_files/files-network.c b/nss/nss_files/files-network.c
index 6530d51c3b..819d4aefbf 100644
--- a/nss/nss_files/files-network.c
+++ b/nss/nss_files/files-network.c
@@ -16,6 +16,7 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>