projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e9bde
)
curl_lib: fix building with gnurl/curl.h
author
Daniel Golle
<daniel@makrotopia.org>
Mon, 18 Apr 2016 14:39:35 +0000
(14:39 +0000)
committer
Daniel Golle
<daniel@makrotopia.org>
Mon, 18 Apr 2016 14:39:35 +0000
(14:39 +0000)
src/include/gnunet_curl_lib.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_curl_lib.h
b/src/include/gnunet_curl_lib.h
index db04f12331b815819d44511452b584d51114e0d5..166e377e0bc3726e3aeff910fe6538913d209e1e 100644
(file)
--- a/
src/include/gnunet_curl_lib.h
+++ b/
src/include/gnunet_curl_lib.h
@@
-26,7
+26,11
@@
*/
#ifndef GNUNET_CURL_LIB_H
#define GNUNET_CURL_LIB_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/gnunet_util_lib.h>