aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/utils.c')
-rwxr-xr-xxorg-server/os/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/os/utils.c b/xorg-server/os/utils.c
index 123baae85..bdb587e36 100755
--- a/xorg-server/os/utils.c
+++ b/xorg-server/os/utils.c
@@ -670,10 +670,10 @@ static const char *defaultNoListenList[] = {
#ifndef LISTEN_TCP
"tcp",
#endif
-#ifndef LISTEN_UNIX
+#if !defined(LISTEN_UNIX) && defined(UNIXCONN)
"unix",
#endif
-#ifndef LISTEN_LOCAL
+#if !defined(LISTEN_LOCAL) && defined(LOCALCONN)
"local",
#endif
NULL