Evas filters: Fix order of header file includes
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 28 Jul 2015 06:13:59 +0000 (15:13 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 28 Jul 2015 08:13:52 +0000 (17:13 +0900)
commitfbd0a516072403eac1a3c81ead04e73f9e63cb23
treed830221a5db436010528882aae405ca638f043a9
parent0058cd08f4adfc0db4d29355d055d1748d28b903
Evas filters: Fix order of header file includes

This fixes filters on Ubuntu 32 bits.

This was one hell of a weird bug to track down. Everything worked
like a charm on my 64 bit machines, but filters would simply fail
for no good reason: a safety check sees a NULL pointer when clearly
it was properly allocated.

Just after entering a function, the content of an RGBA_Image would
change, even though there was no memory write there. This made the
image data pointer NULL, and filters would fail miserably.

So I printed out the contents of the RGBA_Image, they changed. But
the memory itself had not changed. The size of the struct itself
had changed when jumping from one file to another! But its definition
had not! Non-sense!

Unless of course a system header file was included before config.h
and ino_t or off_t would switch between 32 and 64 bits...

@fix
src/lib/evas/filters/evas_filter_blur.c
src/lib/evas/filters/evas_filter_bump.c
src/lib/evas/filters/evas_filter_parser.c