another umax_pp nit-pick

From: Tim Waugh (twaugh@redhat.com)
Date: Sun Jun 10 2001 - 15:13:37 PDT

  • Next message: Justin: "Kernel 2.4.X and HP 5p Scanner"

    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.
    */



    --
    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 - 15:08:26 PDT