diff options
Diffstat (limited to 'libX11/src/SetLocale.c')
-rw-r--r-- | libX11/src/SetLocale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libX11/src/SetLocale.c b/libX11/src/SetLocale.c index 69c25c2c3..40ea3ac4d 100644 --- a/libX11/src/SetLocale.c +++ b/libX11/src/SetLocale.c @@ -63,11 +63,12 @@ from The Open Group. #include <X11/Xlocale.h> #include <X11/Xos.h> #include "XlcPubI.h" +#include <unistd.h> #define MAXLOCALE 64 /* buffer size of locale name */ -#if defined(__APPLE__) || defined(__CYGWIN__) +#if defined(__APPLE__) || defined(__CYGWIN__) || defined(_MSC_VER) char * _Xsetlocale( int category, |