Portability fixes. Should help DragonFly and Solaris, and should not hurt anything...
[free-sw/xcb/libxcb] / src / xcb.h
index ee87a99..68c32a8 100644 (file)
--- a/src/xcb.h
+++ b/src/xcb.h
@@ -27,6 +27,7 @@
 
 #ifndef __XCB_H
 #define __XCB_H
+#include <sys/types.h>
 #include <X11/Xmd.h>
 #include <X11/X.h>
 #include <sys/uio.h>