diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-21 05:36:32 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-21 05:42:03 -0800 |
commit | 31705b068fa5d6cbd04aa4ac5f5275bad37d2222 (patch) | |
tree | 6073fc3f6128af5b840cce54d87f28192b8041bc /libcody | |
parent | e4043c636cef8d18074ce6865ed3271283f52bb5 (diff) | |
download | gcc-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.cc | 1 |
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 |