From 420750f5cadc09c03b63ea9643752d9c30f0338a Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Sun, 16 Jan 2011 16:23:12 +0000 Subject: [PATCH] convert.c: inclusion of endian.h has to be different on APPLE platforms --- CHANGES | 3 +++ codec/convert.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES b/CHANGES index aa83d2a1..e080825a 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,9 @@ What's New for OpenJPEG ! : changed + : added +January 16, 2001 +* [antonin] convert.c: inclusion of endian.h has to be different on APPLE platforms + January 13, 2001 + [rdieter] add pkg-config support to cmake ! [rdieter] adjust autotools pkg-config support to match diff --git a/codec/convert.c b/codec/convert.c index e336f98f..088a5c58 100644 --- a/codec/convert.c +++ b/codec/convert.c @@ -37,6 +37,8 @@ #ifdef _WIN32 #define BYTE_ORDER LITTLE_ENDIAN +#elif __APPLE__ +#include #else #include #endif -- 2.40.0