summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--util.c2
-rw-r--r--util.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2058de0..1b3255d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
CC = gcc
CFLAGS = -ggdb -std=c99 -pedantic -Wall \
- $(shell pkg-config --cflags gtk+-2.0 glib-2.0) \
+ $(shell pkg-config --cflags gdk-pixbuf-2.0 glib-2.0) \
-DN_THREADS=$(shell grep -c ^processor /proc/cpuinfo)
LDFLAGS = -lm \
- $(shell pkg-config --libs gtk+-2.0 glib-2.0)
+ $(shell pkg-config --libs gdk-pixbuf-2.0 glib-2.0)
PROGS = wimmel wimmel_gl
OBJS = wimmel.o wimmel_gl.o util.o
diff --git a/util.c b/util.c
index 76df227..76d8e69 100644
--- a/util.c
+++ b/util.c
@@ -1,5 +1,5 @@
#include <glib.h>
-#include <gtk/gtk.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
#include "util.h"
diff --git a/util.h b/util.h
index e0833cf..c6b5c41 100644
--- a/util.h
+++ b/util.h
@@ -2,7 +2,7 @@
#define _UTIL_H_
#include <glib.h>
-#include <gtk/gtk.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
#include <string.h>