Util-linux 2.9o lpstat does not compile against 2.2.10 or 2.3.4

Jay Thorne (jay@kesoftware.com)
Mon, 21 Jun 1999 10:14:44 -0700


I patched /usr/src/linux/include/linux/lp.h so the #ifdef __KERNEL__ does
not hide all the status variables that lpstat needs.

--- lp.h.new Mon Jun 21 10:09:34 1999
+++ lp.h Mon Jun 21 10:09:14 1999
@@ -131,8 +131,6 @@
volatile unsigned int irq_missed:1;
};

+#endif
+
/*
* The following constants describe the various signals of the printer
port
* hardware. Note that the hardware inverts some signals and that some
@@ -185,5 +183,6 @@

extern int lp_init(void);

-#endif

#endif

-- 
Jay Thorne  jay@kesoftware.com   KE Software
http://www.kesoftware.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/