diff --git a/examples/gifdec.c b/examples/gifdec.c index cd72ebdc..f315a5b0 100644 --- a/examples/gifdec.c +++ b/examples/gifdec.c @@ -9,10 +9,6 @@ // // GIF decode. -#ifdef HAVE_CONFIG_H -#include "webp/config.h" -#endif - #include "./gifdec.h" #include diff --git a/examples/gifdec.h b/examples/gifdec.h index 55ea2a40..5eba9dd3 100644 --- a/examples/gifdec.h +++ b/examples/gifdec.h @@ -15,6 +15,10 @@ #include #include "webp/types.h" +#ifdef HAVE_CONFIG_H +#include "webp/config.h" +#endif + #ifdef WEBP_HAVE_GIF #include #endif