summaryrefslogtreecommitdiff
path: root/codec/j2k_dump.c
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2010-10-05 10:33:15 +0000
committerAntonin Descampe <antonin@gmail.com>2010-10-05 10:33:15 +0000
commiteeefefd56cb3edddefb73141733fd1e757c4b798 (patch)
tree4727958764c4c348762c043c2efbb7470a9ffcca /codec/j2k_dump.c
parent531c0cf26f0c327b42a5caa79725e4afeb98768d (diff)
Added files to let people build openjpeg with configure tools ; Added makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
Diffstat (limited to 'codec/j2k_dump.c')
-rw-r--r--codec/j2k_dump.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/codec/j2k_dump.c b/codec/j2k_dump.c
index 5042f47a..35172a0e 100644
--- a/codec/j2k_dump.c
+++ b/codec/j2k_dump.c
@@ -1,3 +1,4 @@
+#include <opj_config.h>
/*
* Copyright (c) 20010, Mathieu Malaterre, GDCM
* All rights reserved.
@@ -30,11 +31,15 @@
#include <math.h>
#include "openjpeg.h"
-#include "j2k.h"
-#include "jp2.h"
+#include "../libopenjpeg/j2k.h"
+#include "../libopenjpeg/jp2.h"
#include "compat/getopt.h"
#include "convert.h"
-#include "dirent.h"
+#ifdef WIN32
+#include "windirent.h"
+#else
+#include <dirent.h>
+#endif /* WIN32 */
#include "index.h"
#ifndef WIN32