--- vnc_reflector.orig/region.c	2002-09-21 14:43:01.000000000 +0200
+++ vnc_reflector/region.c	2013-12-31 17:45:02.000000000 +0100
@@ -73,6 +73,7 @@ SOFTWARE.
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/types.h>
 
 /* Get definitions for CARD16 etc. */
 #include "rfblib.h"
