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 bc1cfb76e..cbd447aa1 100644
--- a/content/fetchcache.h
+++ b/content/fetchcache.h
@@ -19,14 +19,19 @@
#include "netsurf/utils/config.h"
#include "netsurf/content/content.h"
+#ifdef WITH_POST
struct form_successful_control;
+#endif
struct content * fetchcache(const char *url, char *referer,
void (*callback)(content_msg msg, struct content *c, void *p1,
void *p2, const char *error),
void *p1, void *p2, unsigned long width, unsigned long height,
- bool only_2xx, char *post_urlenc,
+ bool only_2xx
+#ifdef WITH_POST
+ , char *post_urlenc,
struct form_successful_control *post_multipart
+#endif
#ifdef WITH_COOKIES
,bool cookies
#endif