summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 11adf9cf4..93c7de2ad 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -290,10 +290,12 @@ nserror fetcher_init(void)
{
nserror ret;
+#ifdef WITH_CURL
ret = fetch_curl_register();
if (ret != NSERROR_OK) {
return ret;
}
+#endif
ret = fetch_data_register();
if (ret != NSERROR_OK) {