Extend Linux #ifdef to FreeBSD OS.
This commit is contained in:
parent
f3e347241e
commit
5528b0606e
|
@ -249,7 +249,7 @@ typedef struct _DriverRec {
|
|||
*/
|
||||
|
||||
/* Tolerate prior #include <linux/input.h> */
|
||||
#if defined(__linux__)
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
#undef BUS_NONE
|
||||
#undef BUS_PCI
|
||||
#undef BUS_SBUS
|
||||
|
|
Loading…
Reference in New Issue