aboutsummaryrefslogtreecommitdiff
path: root/libX11
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-02-27 11:18:10 +0100
committermarha <marha@users.sourceforge.net>2013-02-27 11:18:10 +0100
commit3c0e16af61a9e0b6f9edab1d403adfaa85456599 (patch)
tree21f9a06f1e51d05763383c22f63d1eabebca9383 /libX11
parent9bed5520560f553ac8ad4985ed41b31499d903fc (diff)
downloadvcxsrv-3c0e16af61a9e0b6f9edab1d403adfaa85456599.tar.gz
vcxsrv-3c0e16af61a9e0b6f9edab1d403adfaa85456599.tar.bz2
vcxsrv-3c0e16af61a9e0b6f9edab1d403adfaa85456599.zip
Solved link problem (snprintf)
Diffstat (limited to 'libX11')
-rw-r--r--libX11/src/ErrDes.c1
-rw-r--r--libX11/src/GetDflt.c1
-rw-r--r--libX11/src/KeysymStr.c1
-rw-r--r--libX11/src/XlibInt.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/ErrDes.c b/libX11/src/ErrDes.c
index ef5edad6c..f5f610fac 100644
--- a/libX11/src/ErrDes.c
+++ b/libX11/src/ErrDes.c
@@ -55,6 +55,7 @@ SOFTWARE.
#include <X11/Xos.h>
#include "Xresource.h"
#include <stdio.h>
+#include <unistd.h>
#ifndef ERRORDB
#ifndef XERRORDB
diff --git a/libX11/src/GetDflt.c b/libX11/src/GetDflt.c
index fa7d366f5..d32b3c65a 100644
--- a/libX11/src/GetDflt.c
+++ b/libX11/src/GetDflt.c
@@ -86,6 +86,7 @@ SOFTWARE.
#include <X11/Xos_r.h>
#endif
#include <stdio.h>
+#include <unistd.h>
#include <ctype.h>
diff --git a/libX11/src/KeysymStr.c b/libX11/src/KeysymStr.c
index c7c470468..00483085a 100644
--- a/libX11/src/KeysymStr.c
+++ b/libX11/src/KeysymStr.c
@@ -34,6 +34,7 @@ in this Software without prior written authorization from The Open Group.
#include "Xresinternal.h"
#include <stdio.h> /* sprintf */
+#include <unistd.h> /* snprintf */
#define NEEDVTABLE
#include "ks_tables.h"
diff --git a/libX11/src/XlibInt.c b/libX11/src/XlibInt.c
index c0a45d41e..9ffb9fb3c 100644
--- a/libX11/src/XlibInt.c
+++ b/libX11/src/XlibInt.c
@@ -43,6 +43,7 @@ from The Open Group.
#include <X11/Xpoll.h>
#include <assert.h>
#include <stdio.h>
+#include <unistd.h>
#ifdef WIN32
#include <direct.h>
#endif