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 /Build/source/texk/web2c/luatexdir/image | |
parent | 1a5d4e32d36d1a5d564ef1486016a3dd73759953 (diff) |
more off_t trouble
git-svn-id: svn://tug.org/texlive/trunk@26566 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/image')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/image/epdf.h | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/image/writeimg.w | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/image/writejbig2.w | 3 |
3 files changed, 9 insertions, 2 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> |