--- a/codecs/dcraw.h 2020-09-10 08:42:19.905105346 +0200 +++ b/codecs/dcraw.h 2020-09-10 08:47:50.826316874 +0200 @@ -96,6 +96,14 @@ #define ushort unsigned short #endif +#undef SEEK_SET +#undef SEEK_CUR +#undef SEEK_END + +#define SEEK_SET std::ios::beg +#define SEEK_CUR std::ios::cur +#define SEEK_END std::ios::end + namespace dcraw { /*