aboutsummaryrefslogtreecommitdiffstats
path: root/src/jp2.c
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2022-12-29 16:32:49 +0000
committeryzrh <yzrh@noema.org>2022-12-29 17:30:36 +0000
commit5a1afb00567aeacca9ead58f5383c3f502317a69 (patch)
tree7b9c291c44d631565d05a38a2c6b9aa3a731f510 /src/jp2.c
parent060bc00a0d68de72299d7084669b3b564248e205 (diff)
downloadmelon-5a1afb00567aeacca9ead58f5383c3f502317a69.tar.gz
melon-5a1afb00567aeacca9ead58f5383c3f502317a69.tar.zst
Link against libc for iconv, find openjpeg header with pkgconf.
Signed-off-by: yzrh <yzrh@noema.org>
Diffstat (limited to 'src/jp2.c')
-rw-r--r--src/jp2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/jp2.c b/src/jp2.c
index 9420b48..a9d4429 100644
--- a/src/jp2.c
+++ b/src/jp2.c
@@ -6,11 +6,7 @@
#include <string.h>
-#ifdef __linux__
#include <openjpeg.h>
-#else
-#include <openjpeg-2.5/openjpeg.h>
-#endif
typedef struct _stream_user_data {
OPJ_SIZE_T pos;