[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 37/125: include: get netinet/in.h before linux/tcp.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 37/125: include: get netinet/in.h before linux/tcp.h |
Date: |
Sun, 21 Jan 2018 23:41:32 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit c103cac3c82dd4484b375b0a940c22aac6f9be74
Author: Per Malmberg <address@hidden>
AuthorDate: Wed Dec 6 09:11:05 2017 +0100
include: get netinet/in.h before linux/tcp.h
... to allow build on older Linux dists (specifically CentOS 4.8 on gcc
4.8.5)
Closes #2160
---
lib/sendf.c | 4 ++++
lib/setopt.c | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/lib/sendf.c b/lib/sendf.c
index a1cb8e478..027f97c47 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -22,6 +22,10 @@
#include "curl_setup.h"
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
#ifdef HAVE_LINUX_TCP_H
#include <linux/tcp.h>
#endif
diff --git a/lib/setopt.c b/lib/setopt.c
index 944d17347..bd5fb54d9 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -26,6 +26,10 @@
#include <limits.h>
#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
#ifdef HAVE_LINUX_TCP_H
#include <linux/tcp.h>
#endif
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 54/125: tests: mark data files as non-executable in git, (continued)
- [GNUnet-SVN] [gnurl] 54/125: tests: mark data files as non-executable in git, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 50/125: openssl: Disable file buffering for Win32 SSLKEYLOGFILE, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 51/125: mailmap: fixup two old git Author "aliases", gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 35/125: openldap: add commented out debug possibilities, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 53/125: tests: update .gitignore for libtests, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 69/125: krb5: fix a potential access of uninitialized memory, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 61/125: vtls: replaced getenv() with curl_getenv(), gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 58/125: curl.1: mention http:// and https:// as valid proxy prefixes, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 56/125: CURLOPT_DNS_LOCAL_IP4.3: fixed the seel also to not self-reference, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 30/125: configure: check for netinet/in6.h, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 37/125: include: get netinet/in.h before linux/tcp.h,
gnunet <=
- [GNUnet-SVN] [gnurl] 45/125: curl: remove __EMX__ #ifdefs, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 57/125: curl.1: documented two missing valid exit codes, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 60/125: RELEASE-NOTES: synced with 3b9ea70ee, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 64/125: THANKS: added missing names, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 86/125: curl_version_info.3: call the argument 'age', gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 43/125: curl: don't set CURLOPT_INTERLEAVEDATA, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 59/125: TODO: Expose tried IP addresses that failed, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 95/125: COPYING: it's 2018!, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 93/125: scripts: allow all perl scripts to be run directly, gnunet, 2018/01/21
- [GNUnet-SVN] [gnurl] 52/125: multi_done: prune DNS cache, gnunet, 2018/01/21