update of openjpeg XCode project file (2)
[openjpeg.git] / mj2 / wrap_j2k_in_mj2.c
index 71dab0dee23b5f90d9fbdb0fe29063b4dcca41fc..dd2af757bd57c65b4e936afdbd360d3a8fe4af71 100644 (file)
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "opj_includes.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "openjpeg.h"
+#include "j2k.h"
+#include "jp2.h"
+#include "cio.h"
 #include "mj2.h"
 
+static int int_ceildiv(int a, int b) {
+       return (a + b - 1) / b;
+}
+
 /**
 Size of memory first allocated for MOOV box
 */