diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-02 16:32:23 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-02 16:32:23 +0100 |
commit | 8aa0a0c18f3c9b27b740aefd0ec4c3e2f34f7fd2 (patch) | |
tree | 44ea0a66f025b4cba55a1d34d7a30d0ed72e9492 | |
parent | e9e4ee6ffa7fa316ba8d479e19639391a3d58e57 (diff) | |
download | libnsutils-8aa0a0c18f3c9b27b740aefd0ec4c3e2f34f7fd2.tar.gz libnsutils-8aa0a0c18f3c9b27b740aefd0ec4c3e2f34f7fd2.tar.bz2 |
need _GNU_SOURCE to be defined to get useful unistd on some platforms
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURCE \ +CFLAGS := -D_GNU_SOURCE -D_DEFAULT_SOURCE \ -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) CFLAGS := $(CFLAGS) -std=c99 |