summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-11 23:55:03 +0000
committerKarl Berry <karl@freefriends.org>2009-04-11 23:55:03 +0000
commitc6a8d775221e97d8c9d50495cb4d16ce19fad38b (patch)
tree79a50a7d8c53b71ed84fa979b316d5d4a71ddc56 /Build
parent34d005dca21a959191bb56ff1b4b70cc022edb2a (diff)
work around fontforge static getsid conflict with unistd.h declaration
git-svn-id: svn://tug.org/texlive/trunk@12698 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettf.c b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettf.c
index 1e1cf2ccad5..b66a8f39333 100644
--- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettf.c
+++ b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/parsettf.c
@@ -33,6 +33,9 @@
#include <gwidget.h>
#include "ttf.h"
+#undef getsid
+#define getsid FFgetsid
+
#ifdef LUA_FF_LIB
SplineFont *_SFReadTTFInfo(FILE *ttf, int flags,enum openflags openflags, char *filename,struct fontdict *fd);
void THPatchSplineChar(SplineChar *sc);