From dcfa509a28d9c1be77a043e1be4a073d4048a369 Mon Sep 17 00:00:00 2001 From: Somnath Banerjee Date: Mon, 5 Sep 2011 08:33:47 +0000 Subject: [PATCH] Fixed recursive inclusion of bit_writer.h and vp8enci.h. Was getting compiler error when I included bit_writer.h from non libwebp directory. bit_writer.h includes vp8enci.h and that uses VP8BitWriter without having it's definition. Change-Id: I1ca82594292979b9eb7e60e2fffb22c16768dd30 --- src/enc/bit_writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enc/bit_writer.h b/src/enc/bit_writer.h index 7f5be8a5..5f717742 100644 --- a/src/enc/bit_writer.h +++ b/src/enc/bit_writer.h @@ -12,7 +12,7 @@ #ifndef WEBP_ENC_BIT_WRITER_H_ #define WEBP_ENC_BIT_WRITER_H_ -#include "vp8enci.h" +#include "../webp/types.h" #if defined(__cplusplus) || defined(c_plusplus) extern "C" {