[patch libXmu] Fix OWNER_OS in XmuConvertStandardSelection() on Linux

Matthieu Herrb matthieu at herrb.eu
Tue Jan 14 22:32:46 UTC 2020


It used to return BSD
---
 src/CvtStdSel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/CvtStdSel.c b/src/CvtStdSel.c
index 36423c6..d462273 100644
--- a/src/CvtStdSel.c
+++ b/src/CvtStdSel.c
@@ -89,6 +89,9 @@ in this Software without prior written authorization from The Open Group.
 #ifdef CSRG_BASED
 #define USE_UNAME
 #endif
+#ifdef __linux__
+#define USE_UNAME
+#endif
 #endif /*X_OS_FILE*/
 #ifdef USE_UNAME
 #include <sys/utsname.h>
-- 
2.24.1



More information about the xorg-devel mailing list