Re: another umax_pp nit-pick

From: stef (stef-listes@wanadoo.fr)
Date: Sun Jun 10 2001 - 22:33:17 PDT

  • Next message: Maier Gerfried: "Some other problems with snapscan"

    On Sun, Jun 10, 2001 at 11:13:37PM +0100, Tim Waugh wrote:
    > The recent PPGETMODES change breaks compilation on older kernels,
    > since the ioctl was only introduced quite recently.
    >
    > Since kernel headers shouldn't be directly referenced by user-space
    > applications, umax_pp should use its own copy of ppdev.h, to prevent
    > things like this from happening. (Alternatively, it could use #ifdef,
    > but really it should include ppdev.h on its own.)
    >
    > Tim.
    > */

            I have ifdef'ed the block that use PPGETMODES in CVS. If pdev.h makes
    its way into SANE includes, I will happily use it.

    Regards,
            Stef

    --
    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 : Sun Jun 10 2001 - 22:20:19 PDT