gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 184/220: curl: fix include conditions


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 184/220: curl: fix include conditions
Date: Thu, 12 Sep 2019 17:29:04 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 4a90c5b82e21821496ef1afb5210a13f2564fcac
Author: lufia <address@hidden>
AuthorDate: Thu Aug 29 01:11:47 2019 +0900

    curl: fix include conditions
---
 src/tool_help.c    | 2 +-
 src/tool_operate.c | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/tool_help.c b/src/tool_help.c
index cb0afef56..271439053 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -20,7 +20,7 @@
  *
  ***************************************************************************/
 #include "tool_setup.h"
-#ifdef HAVE_STRCASECMP
+#if defined(HAVE_STRCASECMP) && defined(HAVE_STRINGS_H)
 #include <strings.h>
 #endif
 
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 87d3ab89c..9b5225853 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -29,6 +29,10 @@
 #  include <locale.h>
 #endif
 
+#ifdef HAVE_SYS_SELECT_H
+#  include <sys/select.h>
+#endif
+
 #ifdef __VMS
 #  include <fabdef.h>
 #endif

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]