fixed "tiffio" header inclusion to use user version on Win32 system only (otherwise...
[openjpeg.git] / codec / convert.c
index 465b0e0b91279f4dc68f52a1731f5983e23d2c1e..a9ffb0da1e08c9554f18743c6cbdace3f523a498 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "openjpeg.h"
+#ifdef WIN32
 #include "../libs/libtiff/tiffio.h"
+#else
+#include <tiffio.h>
+#endif /* WIN32 */
+#include "openjpeg.h"
 #include "convert.h"
 
 /*