aboutsummaryrefslogtreecommitdiff
path: root/src/pt
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/pt
parent5d82ad8f9164461be16f62436542e098934340d4 (diff)
support gnurl's curl.h being in include/gnurl/ OR include/curl/
Diffstat (limited to 'src/pt')
-rw-r--r--src/pt/test_gns_vpn.c4
-rw-r--r--src/pt/test_gnunet_vpn.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c
index 28e83009f4..2ac41d8105 100644
--- a/src/pt/test_gns_vpn.c
+++ b/src/pt/test_gns_vpn.c
@@ -24,7 +24,11 @@
* @author Martin Schanzenbach
*/
#include "platform.h"
+#if HAVE_CURL_CURL_H
#include <curl/curl.h>
+#elif HAVE_GNURL_CURL_H
+#include <gnurl/curl.h>
+#endif
#include <microhttpd.h>
#include "gnunet_identity_service.h"
#include "gnunet_namestore_service.h"
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c
index 4a223e5959..29c0871062 100644
--- a/src/pt/test_gnunet_vpn.c
+++ b/src/pt/test_gnunet_vpn.c
@@ -24,7 +24,11 @@
* @author Christian Grothoff
*/
#include "platform.h"
+#if HAVE_CURL_CURL_H
#include <curl/curl.h>
+#elif HAVE_GNURL_CURL_H
+#include <gnurl/curl.h>
+#endif
#include <microhttpd.h>
#include "gnunet_vpn_service.h"
#include "gnunet_testing_lib.h"