diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-05-12 12:12:05 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-12 12:12:05 +0200 |
commit | 62b84fad399a919108a3ac95b28ccc5feaada6db (patch) | |
tree | 007b93c659878fcd9ab41fb6acfad8ba547b49d1 | |
parent | efcf0c7b51e314577f2da467c7d7f1a07bbc60de (diff) |
imlib.c: Do not include curl.h unless we use libcurl
-rw-r--r-- | src/imlib.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imlib.c b/src/imlib.c index b208abf..cdd4f7c 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -34,7 +34,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> + +#ifdef HAVE_LIBCURL #include <curl/curl.h> +#endif Display *disp = NULL; Visual *vis = NULL; |