From 511156f37bbd1f0a8ae9deb98d2b3eea7586dfa1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 21 Jun 2015 11:06:11 +0000 Subject: support gnurl's curl.h being in include/gnurl/ OR include/curl/ --- src/gns/test_gns_proxy.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gns/test_gns_proxy.c') diff --git a/src/gns/test_gns_proxy.c b/src/gns/test_gns_proxy.c index 7411c9bc9..fb6d01fcd 100644 --- a/src/gns/test_gns_proxy.c +++ b/src/gns/test_gns_proxy.c @@ -24,7 +24,11 @@ * @author Martin Schanzenbach */ #include "platform.h" +#if HAVE_CURL_CURL_H #include +#elif HAVE_GNURL_CURL_H +#include +#endif #include #include "gnunet_namestore_service.h" #include "gnunet_gns_service.h" @@ -246,7 +250,7 @@ static void start_curl (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) { GNUNET_asprintf (&url, - "http://%s:%d/hello_world", + "http://%s:%d/hello_world", TEST_DOMAIN, PORT); curl = curl_easy_init (); curl_easy_setopt (curl, CURLOPT_URL, url); @@ -475,4 +479,3 @@ main (int argc, char *const *argv) } /* end of test_gns_vpn.c */ - -- cgit v1.2.3