summaryrefslogtreecommitdiff
path: root/content/urldb.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/urldb.c')
-rw-r--r--content/urldb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/urldb.c b/content/urldb.c
index b6eaf630b..a26e785c8 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -3356,9 +3356,11 @@ bool urldb_set_cookie(const char *header, nsurl *url, nsurl *referer)
do {
struct cookie_internal_data *c;
- const char *suffix;
char *dot;
size_t len;
+#ifdef WITH_NSPSL
+ const char *suffix;
+#endif
c = urldb_parse_cookie(url, &cur);
if (!c) {