From 1b1e4ff565d40476821060be105466ab40716c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Fri, 20 Feb 2015 16:28:58 +0100 Subject: [PATCH] Make utilites buildable on modern Linux distro (RHEL-7). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Cepl --- Makefile | 4 ++-- csi-trace.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e8f8b6b..22d7396 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,9 @@ benchmarks: $(QUICK_LZMA:.lzma=.trace) lzma -cd $< | ./csi-bind > $@ csi-bind: csi-bind.c - $(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ $(shell pkg-config cairo --libs) -lcairo-script-interpreter -o $@ + $(CC) $(CFLAGS) $(shell pkg-config cairo pixman-1 --cflags) $^ $(shell pkg-config cairo pixman-1 --libs) -lcairo-script-interpreter -o $@ csi-trace: csi-trace.c - $(CC) $(CFLAGS) $(shell pkg-config cairo --cflags) $^ $(shell pkg-config cairo --libs) -lcairo-script-interpreter -o $@ + $(CC) $(CFLAGS) $(shell pkg-config cairo pixman-1 --cflags) $^ $(shell pkg-config cairo pixman-1 --libs) -lm -lcairo-script-interpreter -o $@ ########################################################## # Some targets to make and upload a snapshot of the traces diff --git a/csi-trace.c b/csi-trace.c index ea4f1e9..0e6a05b 100644 --- a/csi-trace.c +++ b/csi-trace.c @@ -3,6 +3,7 @@ #include #include +#include #include #include #include -- 1.8.3.1