summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/meson.build b/os/meson.build
index e1741bb50..724e6d1a8 100644
--- a/os/meson.build
+++ b/os/meson.build
@@ -42,10 +42,10 @@ endif
if not cc.has_function('timingsafe_memcmp')
srcs_libc += 'timingsafe_memcmp.c'
endif
-
-if cc.has_function('poll')
+if not cc.has_function('poll')
srcs_os += 'xserver_poll.c'
endif
+
if cc.has_function('sigaction')
srcs_os += 'busfault.c'
endif