--- sane-backends-1.0.22.orig/backend/rts88xx_lib.c	2010-12-02 00:49:58.000000000 +0100
+++ sane-backends-1.0.22/backend/rts88xx_lib.c	2014-03-18 08:42:41.000000000 +0100
@@ -54,6 +54,7 @@
 
 #include <stdio.h>
 #include <sys/time.h>
+#include <sys/types.h>
 
 #include "../include/_stdint.h"