diff options
| author | Stephan Mühlstrasser <stm@pdflib.com> | 2015-10-15 10:53:33 +0200 |
|---|---|---|
| committer | Stephan Mühlstrasser <stm@pdflib.com> | 2015-10-15 10:53:33 +0200 |
| commit | b3c581760f8b3da08af27f8121d23beb3a9e48eb (patch) | |
| tree | 481385882c6f913bd1e421a9d81107cc1f6df6c2 /src/lib | |
| parent | bd3959dc77b59d11790291c40a3072a4d0f7e444 (diff) | |
Fix OpenJPEG GitHub issue #633.
"opj_includes.h" must be included before system headers, otherwise
inconsistent definitions of configuration macros lead to build
failures on AIX.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/openjp2/opj_clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/openjp2/opj_clock.c b/src/lib/openjp2/opj_clock.c index 0df99ef0..bb4cae73 100644 --- a/src/lib/openjp2/opj_clock.c +++ b/src/lib/openjp2/opj_clock.c @@ -29,6 +29,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "opj_includes.h" + #ifdef _WIN32 #include <windows.h> #else @@ -36,7 +38,6 @@ #include <sys/resource.h> #include <sys/times.h> #endif /* _WIN32 */ -#include "opj_includes.h" OPJ_FLOAT64 opj_clock(void) { #ifdef _WIN32 |
