From aa319bcdd61edff2877c9047ff43616b5696025f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 9 Dec 2011 18:56:13 +0000 Subject: Require _POSIX_C_SOURCE svn path=/trunk/libnsfb/; revision=13262 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index db12d1c..3894b7c 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Werror -pedantic \ -Wno-overlength-strings # For nsglobe.c -CFLAGS := -g -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \ - -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) +CFLAGS := -g -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L \ + -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) NSFB_XCB_PKG_NAMES := xcb xcb-icccm xcb-image xcb-keysyms -- cgit v1.2.3