summaryrefslogtreecommitdiff
path: root/package/sane-backends/patches/patch-backend_genesys_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-18 14:32:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-18 14:32:11 +0100
commitd94b438a786e1adb12566495aef0e83056962637 (patch)
tree472709dc064448effe376cd79ef23bee914d42be /package/sane-backends/patches/patch-backend_genesys_h
parent7506132825b1b935ad78742a668b27a235b62792 (diff)
parentf5a04bbc6ee6cd409b63c235d76fcfae0186027f (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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;}