aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xcb_disp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xcb_disp.c')
-rw-r--r--libX11/src/xcb_disp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libX11/src/xcb_disp.c b/libX11/src/xcb_disp.c
index 079c87ffa..b354e17a6 100644
--- a/libX11/src/xcb_disp.c
+++ b/libX11/src/xcb_disp.c
@@ -7,6 +7,9 @@
#include <X11/Xatom.h>
#include <X11/Xresource.h>
#include <stdio.h>
+#ifdef _MSC_VER
+#define snprintf _snprintf
+#endif
static xcb_auth_info_t xauth;