aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 11:13:01 +0000
commit08ef208fb78fb2eabc5cec08c23e74e251eac898 (patch)
treec52fa36be6197717f9ab12031a623091d785b51c /lib/cookie.c
parent8c45e2a6415a3a12231b88cd2791141ec809d163 (diff)
added disable-[protocol] support, largely provided by Miklos Nemeth
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")