changeset 2056:29305f8abae3

GTK3: Fix building with no webkit libraries installed at all.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 07 Dec 2019 04:16:35 +0000
parents 53523298c7c7
children 9c400365f269
files gtk3/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk3/dw.c	Wed Dec 04 01:22:38 2019 +0000
+++ b/gtk3/dw.c	Sat Dec 07 04:16:35 2019 +0000
@@ -38,7 +38,7 @@
 #if !WEBKIT_CHECK_VERSION(2, 22, 0)
 #include <JavaScriptCore/JavaScript.h>
 #endif
-#else
+#elif defined(USE_WEBKIT)
 #include <webkit/webkit.h>
 #endif