aboutsummaryrefslogtreecommitdiff
path: root/libxcb
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb')
-rw-r--r--libxcb/src/xcb_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxcb/src/xcb_conn.c b/libxcb/src/xcb_conn.c
index e3e4bdec9..cdb71e4e1 100644
--- a/libxcb/src/xcb_conn.c
+++ b/libxcb/src/xcb_conn.c
@@ -58,7 +58,7 @@ typedef struct {
static const int error_connection = 1;
#ifdef _MSC_VER
-
+#undef close
#define close(fd) closesocket(fd)
size_t writev(int fildes, const struct iovec *iov, int iovcnt)