summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2020-01-14 23:32:46 +0100
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-21 11:00:52 -0700
commit71f24beca39c957c9f54e77b3d2fc54cd89400b1 (patch)
treed6fa4c34845e17cb0c9d36e9cf4caa95e2193189
parent6b4f114d4cc76c0f3b1a49ed05db305f0b96bdfe (diff)
Fix OWNER_OS in XmuConvertStandardSelection() on Linux
It used to return BSD Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/CvtStdSel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CvtStdSel.c b/src/CvtStdSel.c
index a9ead44..4865658 100644
--- a/src/CvtStdSel.c
+++ b/src/CvtStdSel.c
@@ -80,6 +80,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>