--- FYI, I've pushed this: src/ChangeLog | 4 ++++ src/cookies.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/ChangeLog b/src/ChangeLog index 10dd42b..5ebeaf3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-06-08 Giuseppe Scrivano <[email protected]> + + * cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is defined. + 2014-05-30 Darshit Shah <[email protected]> * cookies.c (check_domain_match): Use libpsl to check if the cookie domain diff --git a/src/cookies.c b/src/cookies.c index 2c78fdf..a46aeee 100644 --- a/src/cookies.c +++ b/src/cookies.c @@ -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" -- 1.9.3
