diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-12-09 18:56:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-12-09 18:56:13 +0000 |
commit | aa319bcdd61edff2877c9047ff43616b5696025f (patch) | |
tree | 65b3e3d52b41069b19662bbcf10b93bf49a4f9ce /Makefile | |
parent | 2dd32c7adb7116f1ad9ab2632d9fcf57a31e9fa2 (diff) | |
download | libnsfb-aa319bcdd61edff2877c9047ff43616b5696025f.tar.gz libnsfb-aa319bcdd61edff2877c9047ff43616b5696025f.tar.bz2 |
Require _POSIX_C_SOURCE
svn path=/trunk/libnsfb/; revision=13262
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |