aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-08 00:10:53 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-09-08 00:10:53 -0500
commit871463c32740d601241123770a65fea0d737fb54 (patch)
treedb242522a4153f1c1be0c8c5d7b87e8c0dbe1e82 /Makefile
parentd1496a2a9b4a336ea08f0ed3eae7fa3f155989b3 (diff)
define _POSIX_C_SOURCE through CPPFLAGS
like dwm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1bdc7d6..4afd717 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
include config.mk
# flags for compiling
-DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -DVERSION=\"$(VERSION)\"
+DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
# Wayland utils
WAYLAND_PROTOCOLS = `pkg-config --variable=pkgdatadir wayland-protocols`