aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cookie.c')
-rw-r--r--lib/cookie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index 2a90d0b8b..e7628a9b3 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -79,6 +79,8 @@ Example set of cookies:
#include "setup.h"
+#ifndef CURL_DISABLE_HTTP
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
@@ -761,6 +763,8 @@ int main(int argc, char **argv)
#endif
+#endif /* CURL_DISABLE_HTTP */
+
/*
* local variables:
* eval: (load-file "../curl-mode.el")