https://bugs.gentoo.org/show_bug.cgi?id=458516 --- FreeImage/Source/FreeImage.h +++ FreeImage/Source/FreeImage.h @@ -141,8 +141,10 @@ typedef uint16_t WORD; typedef uint32_t DWORD; typedef int32_t LONG; +#ifndef _LIBRAW_TYPES_H typedef int64_t INT64; typedef uint64_t UINT64; +#endif #else // MS is not C99 ISO compliant typedef long BOOL;