summaryrefslogtreecommitdiff
path: root/package/sane-backends/patches/patch-backend_genesys_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/sane-backends/patches/patch-backend_genesys_h')
-rw-r--r--package/sane-backends/patches/patch-backend_genesys_h10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/sane-backends/patches/patch-backend_genesys_h b/package/sane-backends/patches/patch-backend_genesys_h
new file mode 100644
index 000000000..efc830be1
--- /dev/null
+++ b/package/sane-backends/patches/patch-backend_genesys_h
@@ -0,0 +1,10 @@
+--- sane-backends-1.0.22.orig/backend/genesys.h 2011-01-16 02:01:28.000000000 +0100
++++ sane-backends-1.0.22/backend/genesys.h 2014-03-18 08:36:42.000000000 +0100
+@@ -52,6 +52,7 @@
+ */
+ #undef UNIT_TESTING
+
++#include <sys/types.h>
+ #include "genesys_low.h"
+
+ #define FREE_IFNOT_NULL(x) if(x!=NULL) { free(x); x=NULL;}