From 5528b0606efb12b50148155faf259db7c2e7570b Mon Sep 17 00:00:00 2001 From: Niclas Zeising Date: Thu, 5 Oct 2023 19:12:58 +0300 Subject: [PATCH] Extend Linux #ifdef to FreeBSD OS. --- hw/xfree86/common/xf86str.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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