--- vnc_reflector.orig/actions.c	2003-04-21 19:20:35.000000000 +0200
+++ vnc_reflector/actions.c	2013-12-31 17:43:24.000000000 +0100
@@ -18,6 +18,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 #include "rfblib.h"
 #include "reflector.h"
