--- sane-backends-1.0.22.orig/backend/epson2-commands.c	2010-12-02 00:49:58.000000000 +0100
+++ sane-backends-1.0.22/backend/epson2-commands.c	2014-03-18 08:34:27.000000000 +0100
@@ -19,6 +19,7 @@
 
 #include "sane/config.h"
 
+#include <sys/types.h>
 #include <byteorder.h>
 #include <math.h>
 
