aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/lcDB.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xlibi18n/lcDB.c')
-rw-r--r--libX11/src/xlibi18n/lcDB.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libX11/src/xlibi18n/lcDB.c b/libX11/src/xlibi18n/lcDB.c
index 5228a0068..23da4f64e 100644
--- a/libX11/src/xlibi18n/lcDB.c
+++ b/libX11/src/xlibi18n/lcDB.c
@@ -64,6 +64,10 @@
#define BUFSIZE 6144 /* 2048*3 */
#endif
+#ifdef _MSC_VER
+typedef long ssize_t;
+#endif
+
#include <stdio.h>
typedef struct _DatabaseRec {