summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-21 11:06:11 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-21 11:06:11 +0000
commit511156f37bbd1f0a8ae9deb98d2b3eea7586dfa1 (patch)
treef63412717bad83d51332ebcb241ba532cce847a2 /src/transport/plugin_transport_http_client.c
parent5d82ad8f9164461be16f62436542e098934340d4 (diff)
downloadgnunet-511156f37bbd1f0a8ae9deb98d2b3eea7586dfa1.tar.gz
gnunet-511156f37bbd1f0a8ae9deb98d2b3eea7586dfa1.zip
support gnurl's curl.h being in include/gnurl/ OR include/curl/
Diffstat (limited to 'src/transport/plugin_transport_http_client.c')
-rw-r--r--src/transport/plugin_transport_http_client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c
index 7d935b4f0..ad669d20e 100644
--- a/src/transport/plugin_transport_http_client.c
+++ b/src/transport/plugin_transport_http_client.c
@@ -49,7 +49,11 @@
49#include "gnunet_protocols.h" 49#include "gnunet_protocols.h"
50#include "gnunet_transport_plugin.h" 50#include "gnunet_transport_plugin.h"
51#include "plugin_transport_http_common.h" 51#include "plugin_transport_http_common.h"
52#if HAVE_CURL_CURL_H
52#include <curl/curl.h> 53#include <curl/curl.h>
54#elif HAVE_GNURL_CURL_H
55#include <gnurl/curl.h>
56#endif
53 57
54 58
55#define LOG(kind,...) GNUNET_log_from(kind, PLUGIN_NAME, __VA_ARGS__) 59#define LOG(kind,...) GNUNET_log_from(kind, PLUGIN_NAME, __VA_ARGS__)