From 871463c32740d601241123770a65fea0d737fb54 Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Thu, 8 Sep 2022 00:10:53 -0500 Subject: define _POSIX_C_SOURCE through CPPFLAGS like dwm --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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` -- cgit v1.2.3