]> gcc.gnu.org Git - gcc.git/commitdiff
libcody: Add netinet.h
authorNathan Sidwell <nathan@acm.org>
Mon, 21 Dec 2020 13:36:32 +0000 (05:36 -0800)
committerNathan Sidwell <nathan@acm.org>
Mon, 21 Dec 2020 13:42:03 +0000 (05:42 -0800)
We explicitly need to inlude netinet.h, (despite what happened on my test systems)

libcody/
* netclient.cc: Add netinet.h.

libcody/netclient.cc

index 8cccface71cad7835ec5db8ae54ed10e3d1d12bd..7f81dd918106f6a70c2bfdece5d93f42107e42d3 100644 (file)
@@ -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
This page took 0.076105 seconds and 5 git commands to generate.