--- codec/convert.c.bak 2012-01-23 01:05:14.455791163 +0100 +++ codec/convert.c 2012-01-23 01:05:40.934377069 +0100 @@ -51,6 +51,8 @@ #endif /* _WIN32 */ #endif /* HAVE_LIBPNG */ +#include + #include "../libopenjpeg/openjpeg.h" #include "convert.h"