aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 6f9acdb..494927c 100644
--- a/config.mk
+++ b/config.mk
@@ -4,3 +4,5 @@ MANPREFIX = $(PREFIX)/share/man
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
CFLAGS = -std=c99 -Wall -Wextra -pedantic -O2 $(CPPFLAGS)
LDFLAGS = -s -lrt
+
+# Add -DSEMUN_ALREADY_DEFINED to CPPFLAGS if `union semun` is already defined by libc