I did - but under solaris. I kind of hacked together these changes for
sanei_pio and it seemed to work for me, though it's possible that you
compile with the same options (i.e. HAVE_IOPERM, etc)
Good Luck,
Mike
*** sane-0.72/sanei/sanei_pio.c Fri Apr 10 12:00:31 1998
--- sane-0.72-orig/sanei/sanei_pio.c Mon Apr 6 21:49:44 1998
***************
*** 522,534 ****
#else /* !HAVE_IOPERM */
! SANE_Status
! sanei_pio_open (const char *dev, int *fdp)
{
! *fdp = -1;
! return SANE_STATUS_INVAL;
}
void
sanei_pio_close (int fd)
{
--- 522,535 ----
#else /* !HAVE_IOPERM */
! int
! sanei_pio_open (const char *dev, SANE_Status * status)
{
! *status = SANE_STATUS_INVAL;
! return -1;
}
+
void
sanei_pio_close (int fd)
{
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com