diff options
Diffstat (limited to 'desktop/browser.h')
-rw-r--r-- | desktop/browser.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/browser.h b/desktop/browser.h index ada21a37b..ead88eb82 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -106,8 +106,12 @@ void browser_window_destroy(struct browser_window* bw ); void browser_window_open_location(struct browser_window* bw, const char* url); void browser_window_open_location_historical(struct browser_window* bw, - const char* url, char *post_urlenc, - struct form_successful_control *post_multipart); + const char* url +#ifdef WITH_POST + , char *post_urlenc, + struct form_successful_control *post_multipart +#endif + ); int browser_window_action(struct browser_window* bw, struct browser_action* act); void browser_window_set_status(struct browser_window* bw, const char* text); |