aboutsummaryrefslogtreecommitdiffstats
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index b70952214..a456db040 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -27,7 +27,9 @@
#include "os_compat.h"
static const char *remoteUrlPrefixes[] = {
+#ifdef HAVE_CURL
"http://",
+#endif
NULL
};