~ruther/dwl

871463c32740d601241123770a65fea0d737fb54 — Leonardo Hernández Hernández 2 years ago d1496a2
define _POSIX_C_SOURCE through CPPFLAGS

like dwm
2 files changed, 1 insertions(+), 2 deletions(-)

M Makefile
M dwl.c
M Makefile => Makefile +1 -1
@@ 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`

M dwl.c => dwl.c +0 -1
@@ 1,7 1,6 @@
/*
 * See LICENSE file for copyright and license details.
 */
#define _POSIX_C_SOURCE 200809L
#include <getopt.h>
#include <libinput.h>
#include <limits.h>

Do not follow this link