1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix build when libpsl is not available

This commit is contained in:
Giuseppe Scrivano 2014-06-08 22:45:19 +02:00
parent 854ebbf4dd
commit 4d77b190fd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-06-08 Giuseppe Scrivano <gscrivan@redhat.com>
* cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is defined.
2014-05-30 Darshit Shah <darnir@gmail.com>
* cookies.c (check_domain_match): Use libpsl to check if the cookie domain

View File

@ -51,7 +51,9 @@ as that of the covered work. */
#include <assert.h>
#include <errno.h>
#include <time.h>
#include <libpsl.h>
#ifdef HAVE_LIBPSL
# include <libpsl.h>
#endif
#include "utils.h"
#include "hash.h"
#include "cookies.h"