summaryrefslogtreecommitdiff
path: root/libcody
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-12-21 05:36:32 -0800
committerNathan Sidwell <nathan@acm.org>2020-12-21 05:42:03 -0800
commit31705b068fa5d6cbd04aa4ac5f5275bad37d2222 (patch)
tree6073fc3f6128af5b840cce54d87f28192b8041bc /libcody
parente4043c636cef8d18074ce6865ed3271283f52bb5 (diff)
downloadgcc-31705b068fa5d6cbd04aa4ac5f5275bad37d2222.tar.gz
libcody: Add netinet.h
We explicitly need to inlude netinet.h, (despite what happened on my test systems) libcody/ * netclient.cc: Add netinet.h.
Diffstat (limited to 'libcody')
-rw-r--r--libcody/netclient.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcody/netclient.cc b/libcody/netclient.cc
index 8cccface71c..7f81dd91810 100644
--- a/libcody/netclient.cc
+++ b/libcody/netclient.cc
@@ -13,6 +13,7 @@
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <sys/un.h>
#ifndef AI_NUMERICSERV