aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/xcb_util.c')
-rw-r--r--libxcb/src/xcb_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libxcb/src/xcb_util.c b/libxcb/src/xcb_util.c
index 538fdf460..e5b874e38 100644
--- a/libxcb/src/xcb_util.c
+++ b/libxcb/src/xcb_util.c
@@ -55,6 +55,9 @@
#include "xcbint.h"
#ifdef _MSC_VER
+#ifdef close
+#undef close
+#endif
#define close(fd) closesocket(fd)
#endif