curl: fix building with gnurl/curl.h
authorDaniel Golle <daniel@makrotopia.org>
Mon, 18 Apr 2016 14:28:26 +0000 (14:28 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 18 Apr 2016 14:28:26 +0000 (14:28 +0000)
src/curl/curl.c

index 9276915b324455c1a39d2ec3bcf736775bdb3274..92761989fbc7ba19a0296561ae22b7796182b474 100644 (file)
  * @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 <jansson.h>
 #include "gnunet_curl_lib.h"