diff options
Diffstat (limited to '')
-rw-r--r-- | config.mk | 2 | ||||
-rw-r--r-- | libbus.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 @@ -196,7 +196,7 @@ -#ifdef _SEM_SEMUN_UNDEFINED +#ifndef SEMUN_ALREADY_DEFINED union semun { int val; struct semid_ds *buf; |