gifdec: Move inclusion of webp/config.h to header.

Given that we are checking GIFLIB_MAJOR etc in the header, we need the
config in header.

Change-Id: I5d502bd67555752a57589a8ce789efcf0945d72e
This commit is contained in:
Urvang Joshi 2015-04-17 12:40:57 -07:00
parent e978fec61a
commit feab45ef99
2 changed files with 4 additions and 4 deletions

View File

@ -9,10 +9,6 @@
//
// GIF decode.
#ifdef HAVE_CONFIG_H
#include "webp/config.h"
#endif
#include "./gifdec.h"
#include <stdio.h>

View File

@ -15,6 +15,10 @@
#include <stdio.h>
#include "webp/types.h"
#ifdef HAVE_CONFIG_H
#include "webp/config.h"
#endif
#ifdef WEBP_HAVE_GIF
#include <gif_lib.h>
#endif