summaryrefslogtreecommitdiff
path: root/package/sane-backends/patches/patch-backend_genesys_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-18 16:37:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-18 16:37:59 +0100
commit5bd19d12230c137fe0669502119df3d320a2cf0b (patch)
tree681910308baae1a782108a91adedb08a079718c9 /package/sane-backends/patches/patch-backend_genesys_h
parenta8b9141be698673a507c7d97c32911a739841375 (diff)
parent5fcef36f39fef441bbf7454e4726763b6756dba9 (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;}