From 62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Jan 2004 02:10:59 +0000 Subject: [project @ 2004-01-05 02:10:59 by jmb] Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480 --- content/fetchcache.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'content/fetchcache.h') diff --git a/content/fetchcache.h b/content/fetchcache.h index 12326970b..bc1cfb76e 100644 --- a/content/fetchcache.h +++ b/content/fetchcache.h @@ -16,6 +16,7 @@ #define _NETSURF_DESKTOP_FETCHCACHE_H_ #include +#include "netsurf/utils/config.h" #include "netsurf/content/content.h" struct form_successful_control; @@ -25,7 +26,11 @@ struct content * fetchcache(const char *url, char *referer, void *p2, const char *error), void *p1, void *p2, unsigned long width, unsigned long height, bool only_2xx, char *post_urlenc, - struct form_successful_control *post_multipart, bool cookies); + struct form_successful_control *post_multipart +#ifdef WITH_COOKIES + ,bool cookies +#endif + ); void fetchcache_init(void); #endif -- cgit v1.2.3