aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcbxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/src/xcbxlib.h')
-rw-r--r--libxcb/src/xcbxlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libxcb/src/xcbxlib.h b/libxcb/src/xcbxlib.h
index 4cb5cd4bf..53821afce 100644
--- a/libxcb/src/xcbxlib.h
+++ b/libxcb/src/xcbxlib.h
@@ -31,6 +31,9 @@
#ifndef __XCBXLIB_H
#define __XCBXLIB_H
+#ifdef _MSC_VER
+typedef int pid_t;
+#endif
#include <pthread.h>
#include "xcb.h"