diff options
author | marha <marha@users.sourceforge.net> | 2012-04-10 16:19:15 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-04-10 16:19:15 +0200 |
commit | 746b42cbf983768e6ffeb374d48f497a626c2af5 (patch) | |
tree | fc4b49cf36d62a9294dc449994a4922e05b036c2 /libXaw/src | |
parent | 0264c85a96701934cecf26413f89670f9f8e3e19 (diff) | |
download | vcxsrv-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')
-rw-r--r-- | libXaw/src/Private.h | 2 | ||||
-rw-r--r-- | libXaw/src/XawI18n.h | 1 |
2 files changed, 3 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)) diff --git a/libXaw/src/XawI18n.h b/libXaw/src/XawI18n.h index d50171cfb..132bbb49e 100644 --- a/libXaw/src/XawI18n.h +++ b/libXaw/src/XawI18n.h @@ -62,6 +62,7 @@ int _Xaw_iswspace #endif #include <stdlib.h> +#include <unistd.h> #ifdef USE_XWCHAR_STRING int _Xwcslen |