summaryrefslogtreecommitdiff
path: root/dev-tex/luatex/files/includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/luatex/files/includes.patch')
-rw-r--r--dev-tex/luatex/files/includes.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-tex/luatex/files/includes.patch b/dev-tex/luatex/files/includes.patch
new file mode 100644
index 000000000000..f93c7312b315
--- /dev/null
+++ b/dev-tex/luatex/files/includes.patch
@@ -0,0 +1,25 @@
+Index: source/texk/web2c/luatexdir/image/pdftoepdf.w
+===================================================================
+--- source.orig/texk/web2c/luatexdir/image/pdftoepdf.w
++++ source/texk/web2c/luatexdir/image/pdftoepdf.w
+@@ -26,6 +26,8 @@ static const char _svn_version[] =
+ // define DEBUG
+ #define __STDC_FORMAT_MACROS /* for PRId64 etc. */
+
++#include <stdint.h>
++#include <inttypes.h>
+ #include "image/epdf.h"
+
+ // This file is mostly C and not very much C++; it's just used to interface
+Index: source/texk/web2c/luatexdir/image/writejp2.w
+===================================================================
+--- source.orig/texk/web2c/luatexdir/image/writejp2.w
++++ source/texk/web2c/luatexdir/image/writejp2.w
+@@ -30,6 +30,7 @@ ISO/IEC 15444-1, Second edition, 2004-09
+ @c
+ #include <math.h>
+ #include <assert.h>
++#include <stdint.h>
+ #include "ptexlib.h"
+ #include "image/image.h"
+ #include "image/writejp2.h"