summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/ptexlib.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-27 23:08:43 +0000
committerKarl Berry <karl@freefriends.org>2013-06-27 23:08:43 +0000
commit29cf6f8fa20e8af648ec39b7ca40cda82fa20121 (patch)
tree600121e9598df335fd1c224d319cd34c17770079 /Build/source/texk/web2c/luatexdir/ptexlib.h
parent1b913c21141d09d33723f2553b6ee1c3efbdd4ff (diff)
further inclusion of ptexlib.h first, and guard against it
git-svn-id: svn://tug.org/texlive/trunk@30986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/ptexlib.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/ptexlib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ptexlib.h b/Build/source/texk/web2c/luatexdir/ptexlib.h
index b9486d9b25a..d983011771f 100644
--- a/Build/source/texk/web2c/luatexdir/ptexlib.h
+++ b/Build/source/texk/web2c/luatexdir/ptexlib.h
@@ -1,7 +1,7 @@
/* ptexlib.h
Copyright 1996-2006 Han The Thanh <thanh@pdftex.org>
- Copyright 2006-2012 Taco Hoekwater <taco@luatex.org>
+ Copyright 2006-2013 Taco Hoekwater <taco@luatex.org>
This file is part of LuaTeX.
@@ -23,6 +23,10 @@
#ifndef PTEXLIB_H
# define PTEXLIB_H
+#if defined (_OFF_T_DEFINED) || defined (EOF) || defined (assert) || defined (_FEATURES_H)
+ptexlib.h must be included first!!!
+#endif
+
#ifdef HAVE_CONFIG_H
#include <w2c/config.h>
#endif