diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2012-05-22 10:53:47 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2012-05-22 10:53:47 +0000 |
commit | 90df28c0bede8f1590cd3f7e54d3e12e02e4cea1 (patch) | |
tree | d9a913b3e6a83bca0ace547eb2133bc94e7727fa | |
parent | 1a5d4e32d36d1a5d564ef1486016a3dd73759953 (diff) |
more off_t trouble
git-svn-id: svn://tug.org/texlive/trunk@26566 c570f23f-e606-0410-a88d-b1316a301751
6 files changed, 18 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/image/epdf.h b/Build/source/texk/web2c/luatexdir/image/epdf.h index c47c9f19f26..685a8f40b85 100644 --- a/Build/source/texk/web2c/luatexdir/image/epdf.h +++ b/Build/source/texk/web2c/luatexdir/image/epdf.h @@ -23,7 +23,11 @@ #ifndef EPDF_H # define EPDF_H - +extern "C" { +#ifdef HAVE_CONFIG_H +#include <w2c/config.h> +#endif +} # include <stdlib.h> # include <math.h> # include <stddef.h> diff --git a/Build/source/texk/web2c/luatexdir/image/writeimg.w b/Build/source/texk/web2c/luatexdir/image/writeimg.w index 6e9dad2b111..4d3eeef15a8 100644 --- a/Build/source/texk/web2c/luatexdir/image/writeimg.w +++ b/Build/source/texk/web2c/luatexdir/image/writeimg.w @@ -25,8 +25,8 @@ static const char _svn_version[] = "$Id: writeimg.w 4271 2011-05-16 14:40:06Z taco $ " "$URL: http://foundry.supelec.fr/svn/luatex/branches/0.70.x/source/texk/web2c/luatexdir/image/writeimg.w $"; -#include <assert.h> #include "ptexlib.h" +#include <assert.h> #include <kpathsea/c-auto.h> #include <kpathsea/c-memstr.h> diff --git a/Build/source/texk/web2c/luatexdir/image/writejbig2.w b/Build/source/texk/web2c/luatexdir/image/writejbig2.w index d23183fab6c..fecb25e8d55 100644 --- a/Build/source/texk/web2c/luatexdir/image/writejbig2.w +++ b/Build/source/texk/web2c/luatexdir/image/writejbig2.w @@ -86,6 +86,9 @@ static const char _svn_version[] = #undef DEBUG +#ifdef HAVE_CONFIG_H +#include <w2c/config.h> +#endif #include <stdlib.h> #include <stdio.h> #include <assert.h> diff --git a/Build/source/texk/web2c/luatexdir/lua/limglib.c b/Build/source/texk/web2c/luatexdir/lua/limglib.c index 4cc13454c22..d9db5fa1eba 100644 --- a/Build/source/texk/web2c/luatexdir/lua/limglib.c +++ b/Build/source/texk/web2c/luatexdir/lua/limglib.c @@ -21,13 +21,13 @@ static const char _svn_version[] = "$Id: limglib.c 4051 2011-01-09 22:41:33Z hhenkel $ " "$URL: http://foundry.supelec.fr/svn/luatex/tags/beta-0.66.0/source/texk/web2c/luatexdir/lua/limglib.c $"; +#include "ptexlib.h" +#include "lua/luatex-api.h" #include <stdio.h> #include <string.h> #include <assert.h> #include "lua51/lua.h" #include "lua51/lauxlib.h" -#include "ptexlib.h" -#include "lua/luatex-api.h" /**********************************************************************/ diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdftypes.h b/Build/source/texk/web2c/luatexdir/pdf/pdftypes.h index 255a156ef61..f0fef66be0f 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdftypes.h +++ b/Build/source/texk/web2c/luatexdir/pdf/pdftypes.h @@ -22,6 +22,9 @@ #ifndef PDFTYPES_H # define PDFTYPES_H +#ifdef HAVE_CONFIG_H +#include <w2c/config.h> +#endif # include <zlib.h> # include "lua/luatex-api.h" diff --git a/Build/source/texk/web2c/luatexdir/ptexlib.h b/Build/source/texk/web2c/luatexdir/ptexlib.h index e6fa7920e12..4c2395c41fc 100644 --- a/Build/source/texk/web2c/luatexdir/ptexlib.h +++ b/Build/source/texk/web2c/luatexdir/ptexlib.h @@ -23,6 +23,10 @@ #ifndef PTEXLIB_H # define PTEXLIB_H +#ifdef HAVE_CONFIG_H +#include <w2c/config.h> +#endif + /* WEB2C macros and prototypes */ # define EXTERN extern # include "luatex.h" |