From 00b29e282f9b728b34feafcda1b8a12ec326e21b Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 15 May 2012 13:48:11 -0700 Subject: [PATCH] normalize example header includes headers from examples/ aren't installed so prefix with './' to be explicit. Change-Id: Ie6c1544a026a9859b7fc0cf238b21e031ef0013f --- examples/cwebp.c | 2 +- examples/dwebp.c | 2 +- makefile.unix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/cwebp.c b/examples/cwebp.c index c011b7ea..09c788de 100644 --- a/examples/cwebp.c +++ b/examples/cwebp.c @@ -42,7 +42,7 @@ #include "webp/encode.h" -#include "stopwatch.h" +#include "./stopwatch.h" #ifndef WEBP_DLL #if defined(__cplusplus) || defined(c_plusplus) extern "C" { diff --git a/examples/dwebp.c b/examples/dwebp.c index 65984ee7..619331d7 100644 --- a/examples/dwebp.c +++ b/examples/dwebp.c @@ -39,7 +39,7 @@ #include "webp/decode.h" #include "./example_util.h" -#include "stopwatch.h" +#include "./stopwatch.h" static int verbose = 0; #ifndef WEBP_DLL diff --git a/makefile.unix b/makefile.unix index dee441bd..9fd4baa8 100644 --- a/makefile.unix +++ b/makefile.unix @@ -56,7 +56,7 @@ EXTRA_FLAGS += -Wdeclaration-after-statement AR = ar ARFLAGS = r CC = gcc -CPPFLAGS = -Isrc/ -Iexamples/ -Wall +CPPFLAGS = -Isrc/ -Wall CFLAGS = -O3 -DNDEBUG $(EXTRA_FLAGS) INSTALL = install GROFF = /usr/bin/groff