diff mbox series

libcody: Add netinet.h

Message ID 96f26126-3a9a-187a-2c05-6bdcbd009031@acm.org
State New
Headers show
Series libcody: Add netinet.h | expand

Commit Message

Nathan Sidwell Dec. 21, 2020, 1:41 p.m. UTC
We explicitly need to inlude netinet.h, (despite what happened on my 
test systems)

             libcody/
             * netclient.cc: Add netinet.h.
diff mbox series

Patch

diff --git c/libcody/netclient.cc w/libcody/netclient.cc
index 8cccface71c..7f81dd91810 100644
--- c/libcody/netclient.cc
+++ w/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