diff --git a/frmts/openjpeg/openjpegdataset.cpp b/frmts/openjpeg/openjpegdataset.cpp index 1fd4f4f..417f7a8 100644 --- a/frmts/openjpeg/openjpegdataset.cpp +++ b/frmts/openjpeg/openjpegdataset.cpp @@ -29,12 +29,8 @@ /* This file is to be used with openjpeg 2.0 */ -#if defined(OPENJPEG_VERSION) && OPENJPEG_VERSION >= 20100 -#include -#else -#include /* openjpeg.h needs FILE* */ -#include -#endif +#include +#include #include #include "gdaljp2abstractdataset.h"