aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb.h
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/xcb.h')
-rw-r--r--libxcb/src/xcb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libxcb/src/xcb.h b/libxcb/src/xcb.h
index 35d876883..ad32051b2 100644
--- a/libxcb/src/xcb.h
+++ b/libxcb/src/xcb.h
@@ -35,9 +35,19 @@
#include <stdint.h>
#endif
+#ifndef _MSC_VER
#include <sys/uio.h>
+#else
+#define HANDLE void *
+typedef int pid_t;
+#endif
#include <pthread.h>
+#ifdef _MSC_VER
+#undef HANDLE
+typedef unsigned uint32_t;
+typedef int int32_t;
+#endif
#ifdef __cplusplus
extern "C" {