]> sjero.net Git - wget/blobdiff - src/cookies.c
Fix build when libpsl is not available
[wget] / src / cookies.c
index 2c78fdf0cd3ad4135def6ddb8d9f2573e989a924..a46aeeef293a4e03026da21d1c2d09b2d6d2050d 100644 (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"