Extend Linux #ifdef to FreeBSD OS.

This commit is contained in:
Niclas Zeising 2023-10-05 19:12:58 +03:00 committed by Alan Coopersmith
parent f3e347241e
commit 5528b0606e

View File

@ -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