Portability fixes. Should help DragonFly and Solaris, and should not hurt anything...
[free-sw/xcb/libxcb] / src / xcb_util.c
index 3d6006c..3524899 100644 (file)
@@ -26,6 +26,7 @@
 /* Utility functions implementable using only public APIs. */
 
 #include <assert.h>
+#include <sys/types.h>
 #include <sys/select.h>
 #include <sys/socket.h>
 #include <sys/un.h>