aboutsummaryrefslogtreecommitdiff
path: root/libXaw/src/Private.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-04-10 16:19:15 +0200
committermarha <marha@users.sourceforge.net>2012-04-10 16:19:15 +0200
commit746b42cbf983768e6ffeb374d48f497a626c2af5 (patch)
treefc4b49cf36d62a9294dc449994a4922e05b036c2 /libXaw/src/Private.h
parent0264c85a96701934cecf26413f89670f9f8e3e19 (diff)
downloadvcxsrv-746b42cbf983768e6ffeb374d48f497a626c2af5.tar.gz
vcxsrv-746b42cbf983768e6ffeb374d48f497a626c2af5.tar.bz2
vcxsrv-746b42cbf983768e6ffeb374d48f497a626c2af5.zip
Solved link errors because snprintf was not remapped to _snprintf
Diffstat (limited to 'libXaw/src/Private.h')
-rw-r--r--libXaw/src/Private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libXaw/src/Private.h b/libXaw/src/Private.h
index 3a91b7a43..382df3a37 100644
--- a/libXaw/src/Private.h
+++ b/libXaw/src/Private.h
@@ -28,6 +28,8 @@
#ifndef _XawPrivate_h
#define _XawPrivate_h
+#include <unistd.h>
+
#define XawMax(a, b) ((a) > (b) ? (a) : (b))
#define XawMin(a, b) ((a) < (b) ? (a) : (b))
#define XawAbs(a) ((a) < 0 ? -(a) : (a))