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
This commit is contained in:
Somnath Banerjee 2011-09-05 08:33:47 +00:00 committed by James Zern
parent e06ac0887f
commit dcfa509a28

View File

@ -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" {