summaryrefslogtreecommitdiff
path: root/indra/llimagej2coj
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-12-23 19:42:32 +0800
committerErik Kundiman <erik@megapahit.org>2023-12-23 19:42:32 +0800
commit9ad01c1823259ba5a5710289b65d629732199eaf (patch)
treee7cb9febee6abda55e9f3ed80d04c17984889a63 /indra/llimagej2coj
parenta0e9136f1466372cd70bb2749346b2d4392b607f (diff)
Rely on prebuilt OpenJPEG headers
so we follow its encapsulating directory naming. Looks like we're still going to be using LL's 3p-openjpeg for a while more.
Diffstat (limited to 'indra/llimagej2coj')
-rw-r--r--indra/llimagej2coj/llimagej2coj.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp
index 6d180e233d..7c6fded9fe 100644
--- a/indra/llimagej2coj/llimagej2coj.cpp
+++ b/indra/llimagej2coj/llimagej2coj.cpp
@@ -28,15 +28,9 @@
#include "llimagej2coj.h"
// this is defined so that we get static linking.
-#ifdef LL_USESYSTEMLIBS
-#include <openjpeg-2.5/openjpeg.h>
-#include <openjpeg-2.5/event.h>
-#include <openjpeg-2.5/cio.h>
-#else
-#include "openjpeg.h"
-#include "event.h"
-#include "cio.h"
-#endif
+#include "openjpeg/openjpeg.h"
+#include "openjpeg/event.h"
+#include "openjpeg/cio.h"
#define MAX_ENCODED_DISCARD_LEVELS 5