projects
/
platform
/
upstream
/
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
8cccfac
..
7f81dd9
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