--- libopenjpeg/opj_malloc.h.orig 2020-03-22 12:44:04 UTC +++ libopenjpeg/opj_malloc.h @@ -83,7 +83,7 @@ Allocate memory aligned to a 16 byte bou #else /* Not _WIN32 */ #if defined(__sun) #define HAVE_MEMALIGN - #elif defined(__FreeBSD__) + #elif defined(__FreeBSD__) || defined(__BSDSUniX__) #define HAVE_POSIX_MEMALIGN /* Linux x86_64 and OSX always align allocations to 16 bytes */ #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX)