diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h index 9072932cb..d410e411a 100644 --- a/hw/xfree86/common/xf86str.h +++ b/hw/xfree86/common/xf86str.h @@ -249,7 +249,7 @@ typedef struct _DriverRec { */ /* Tolerate prior #include */ -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD__) #undef BUS_NONE #undef BUS_PCI #undef BUS_SBUS