summaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/patch-hw_xfree86_common_xf86str.h
blob: 4f39ce2e3f2db71775e3e8b4dd308e18f10f77d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- hw/xfree86/common/xf86str.h.orig	2022-01-02 23:41:56.000000000 +0100
+++ hw/xfree86/common/xf86str.h	2022-06-29 11:57:25.502421000 +0200
@@ -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