aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2024-02-16 15:17:18 +0100
committerFurkan Sahin <furkan-dev@proton.me>2024-02-16 15:17:18 +0100
commita69232b0881f0a6e6ed59a03f815144818e76267 (patch)
tree654d9fb88fb1885088a6638169bff592b8bd0bc0 /meson.build
parentdd8d589f85c7d0193e9d84813494dde1baf03d68 (diff)
Define _POSIX_C_SOURCE globally
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index f8bf4f80..1043e4ba 100644
--- a/meson.build
+++ b/meson.build
@@ -14,6 +14,7 @@ project(
add_project_arguments(
[
'-DWLR_USE_UNSTABLE',
+ '-D_POSIX_C_SOURCE=200809L',
'-Wno-unused-parameter',
'-Wno-unused-result',