[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH wget] Fix build when libpsl is not available
From: |
Giuseppe Scrivano |
Subject: |
[Bug-wget] [PATCH wget] Fix build when libpsl is not available |
Date: |
Sun, 8 Jun 2014 22:55:04 +0200 |
---
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 <address@hidden>
+
+ * cookies.c [HAVE_PSL]: Include <libpsl.h> only when HAVE_PSL is
defined.
+
2014-05-30 Darshit Shah <address@hidden>
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-wget] [PATCH wget] Fix build when libpsl is not available,
Giuseppe Scrivano <=