aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Van Rooy <wouter.vanrooy@gmail.com>2013-09-02 22:07:35 +0200
committerWouter Van Rooy <wouter.vanrooy@gmail.com>2013-09-02 22:07:35 +0200
commitdc5db198cc3f2b5cb867f1be06726a477b13b341 (patch)
treea4a2eccd487391f9f3bc7844be9215a7b8bbaa9b
parent520061e312d18fae76e3e42209aa1274867c211a (diff)
Fix error Only <glib.h> can be included directly.
New version of Glib no longer allows to include headers from its subdirectories.
-rw-r--r--config.mk2
-rw-r--r--svte.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index e6b173a..29d7470 100644
--- a/config.mk
+++ b/config.mk
@@ -27,7 +27,7 @@ MANPREFIX = ${PREFIX}/share/man
# includes and libs
-GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte )
+GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte glib-2.0)
GTKLIB=-lvte
INCS = -I. -I/usr/include ${GTKINC}
diff --git a/svte.c b/svte.c
index 22cdbcc..f6bd7af 100644
--- a/svte.c
+++ b/svte.c
@@ -19,7 +19,7 @@
#include "defaults.h"
#include <gdk/gdkkeysyms.h>
-#include <glib/goption.h>
+#include <glib.h>
#include <gtk/gtk.h>
#include <vte/vte.h>
#include <unistd.h>