From 42ae2010eb816fad62d2ecbaa117bf0d37b262e1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 10 Jun 2022 21:10:31 +0200 Subject: Assume libc (correctly) does not define union semun MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.mk') 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 -- cgit v1.2.3-70-g09d2