public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6285] libcody: Add netinet.h
@ 2020-12-21 13:42 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-12-21 13:42 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:31705b068fa5d6cbd04aa4ac5f5275bad37d2222

commit r11-6285-g31705b068fa5d6cbd04aa4ac5f5275bad37d2222
Author: Nathan Sidwell <nathan@acm.org>
Date:   Mon Dec 21 05:36:32 2020 -0800

    libcody: Add netinet.h
    
    We explicitly need to inlude netinet.h, (despite what happened on my test systems)
    
            libcody/
            * netclient.cc: Add netinet.h.

Diff:
---
 libcody/netclient.cc | 1 +
 1 file changed, 1 insertion(+)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-21 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21 13:42 [gcc r11-6285] libcody: Add netinet.h Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).