Forwarded message:
> From Remco.vdBerg@ehv.sc.philips.com Mon Nov 30 15:14:10 1998
> From: Remco van den Berg <Remco.vdBerg@ehv.sc.philips.com>
> Organization: Philips Semiconductors B.V.
>
> Andreas,
>
> I had to make some modification in the SANE source code to be able to
> compile it under Linux.
> (I once started with a Slackware distribution, but now it's more like
> a self-made unix environment.)
>
> Included in the file ./include/sane/sanei.h:
> --------------------------------------------
>
> /* patched by Remco, 30-11-1998: */
> #ifndef HAVE_STRNDUP
> #include <stdlib.h>
> #include <string.h>
> #include <sys/types.h>
> extern char *strndup (const char * s, size_t n);
> #endif /* !HAVE_STRNDUP */
> /* end patch */
>
> Changed in the file ./backend/abaton.c:
> ---------------------------------------
>
> /* changed by Remco, 30-11-1998 */
> /* s->val[OPT_X_RESOLUTION] = *(SANE_Word *)val; */
> s->val[OPT_X_RESOLUTION].w = *(SANE_Word *)val;
>
> Some remarks:
> -------------
>
> 1) I looked at it because a friend of mine had problems compiling the
> SANE code.
> 2) I don't have a SCSI scanner, so I haven't tested the modifications.
> 3) I didn't compile the GTK related software parts.
>
> Regards,
>
> -Remco van den Berg
CU, ANdy
-- = Andreas Beck | Email : <andreas.beck@ggi-project.org> =
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com