[Martin]
> Because of the new V4L backend I can't compile it on my Server. (no
> X on that machine...)
What a strange thing for a SANE backend to depend on. It seems it is
only using the X11 headerfile to define TRUE and FALSE. Apply this
patch to fix the problem:
Index: v4l.c
===================================================================
RCS file: /cvsroot/external/sane/backend/v4l.c,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 v4l.c
--- v4l.c 2000/08/02 06:35:02 1.1.2.6
+++ v4l.c 2000/08/14 09:57:55
@@ -82,8 +82,6 @@
#include "sane/sanei.h"
#include "sane/saneopts.h"
-#include <X11/Intrinsic.h>
-
#include "v4l-grab.h"
#if what_is_this
# include "colorspace.h"
@@ -93,6 +91,9 @@
#include <linux/videodev.h>
#define SYNC_TIMEOUT 1
+
+#define TRUE 1
+#define FALSE 0
#include "v4l.h"
-- ##> Petter Reinholdtsen <## | pere@td.org.uit.no O- <SCRIPT Language="Javascript">window.close()</SCRIPT> http://www.hungry.com/~pere/ | Go Mozilla, go! Go!-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Mon Aug 14 2000 - 02:57:33 PDT