commit abcf5f06ed5ab6dbd6934df8d2d4556521dd7b8e
parent 566b452b46a171a4426256cdb02704ae8351a2b3
Author: Quentin Rameau <[email protected]>
Date: Wed, 18 Nov 2015 14:43:04 +0100
Switch headers to webkit2
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.mk b/config.mk
@@ -10,8 +10,8 @@ MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
-GTKINC = `pkg-config --cflags gtk+-3.0 webkitgtk-3.0`
-GTKLIB = `pkg-config --libs gtk+-3.0 webkitgtk-3.0`
+GTKINC = `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0`
+GTKLIB = `pkg-config --libs gtk+-3.0 webkit2gtk-4.0`
# includes and libs
INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
diff --git a/surf.c b/surf.c
@@ -17,7 +17,7 @@
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
-#include <webkit/webkit.h>
+#include <webkit2/webkit2.h>
#include <glib/gstdio.h>
#include <JavaScriptCore/JavaScript.h>
#include <sys/file.h>