projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4043c6
)
libcody: Add netinet.h
author
Nathan Sidwell
<nathan@acm.org>
Mon, 21 Dec 2020 13:36:32 +0000
(
05:36
-0800)
committer
Nathan 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
patch
|
blob
|
history
diff --git
a/libcody/netclient.cc
b/libcody/netclient.cc
index 8cccface71cad7835ec5db8ae54ed10e3d1d12bd..7f81dd918106f6a70c2bfdece5d93f42107e42d3 100644
(file)
--- 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