summaryrefslogtreecommitdiff
path: root/content/fetchcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchcache.h')
-rw-r--r--content/fetchcache.h7
1 files changed, 6 insertions, 1 deletions
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 <stdbool.h>
+#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