Hi there,

I don't know if Cygwin is oficially supported, I didn't even check, but
it works quite well (at least my Epson Perfection 1200 now came back to
life on Windows 7using Cygwin & Sane).

However, "sanei_ir.c" includes "values.h", which is deprecated IHMO and
should be replaced by "float.h" and "limits.h" in this case I think.
Cygwin also doesn't provide "values.h".

Using the folowing patch sane compiles fine on Cygwin:

diff --git a/sanei/sanei_ir.c b/sanei/sanei_ir.c
index 42e82ba..47e1e6e 100644
--- a/sanei/sanei_ir.c
+++ b/sanei/sanei_ir.c
@@ -29,7 +29,8 @@

 #include <stdlib.h>
 #include <string.h>
-#include <values.h>
+#include <float.h>
+#include <limits.h>
 #include <math.h>

 #define BACKEND_NAME sanei_ir  /* name of this module for debugging */


Greetings

Alexander

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
sane-devel mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [email protected]

Reply via email to