aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-03-29 13:35:50 +0100
committermarha <marha@users.sourceforge.net>2014-03-29 13:35:50 +0100
commit409cbaf20b5c695444bd08c87f4a186b9ac6b805 (patch)
tree1b9a267a2e2a1c1acda54e9de517f8821da7b9f8 /libXfont/src
parentf0f09f4aa3cdd0267f58b362a7c9fc5ae0921afd (diff)
downloadvcxsrv-409cbaf20b5c695444bd08c87f4a186b9ac6b805.tar.gz
vcxsrv-409cbaf20b5c695444bd08c87f4a186b9ac6b805.tar.bz2
vcxsrv-409cbaf20b5c695444bd08c87f4a186b9ac6b805.zip
Solved crashes in 64-bit due to latest merge
Diffstat (limited to 'libXfont/src')
-rw-r--r--libXfont/src/FreeType/xttcap.c1
-rw-r--r--libXfont/src/fontfile/fontdir.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/libXfont/src/FreeType/xttcap.c b/libXfont/src/FreeType/xttcap.c
index 104dc89e4..707845ed3 100644
--- a/libXfont/src/FreeType/xttcap.c
+++ b/libXfont/src/FreeType/xttcap.c
@@ -45,6 +45,7 @@ static char const * const releaseID =
#include <string.h>
#include <ctype.h>
#include <math.h>
+#include <unistd.h>
#ifndef True
#define True (-1)
diff --git a/libXfont/src/fontfile/fontdir.c b/libXfont/src/fontfile/fontdir.c
index ef7ffa561..13cda0a37 100644
--- a/libXfont/src/fontfile/fontdir.c
+++ b/libXfont/src/fontfile/fontdir.c
@@ -34,6 +34,8 @@ in this Software without prior written authorization from The Open Group.
#include <X11/fonts/fntfilst.h>
#include <X11/keysym.h>
+#include <unistd.h>
+
#if HAVE_STDINT_H
#include <stdint.h>
#elif !defined(INT32_MAX)