diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-03-28 18:15:27 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-03-28 18:25:41 +0000 |
commit | e62db5a49cbd7c8786a1b88617e5629ad0d0f64e (patch) | |
tree | d5bf8f5dd01afee3545243eeaa65638f323fb1c1 /framebuffer | |
parent | 22e0c0536a3f9a881ad9e80a9562580c143b06a9 (diff) | |
download | netsurf-e62db5a49cbd7c8786a1b88617e5629ad0d0f64e.tar.gz netsurf-e62db5a49cbd7c8786a1b88617e5629ad0d0f64e.tar.bz2 |
define _DEFAULT_SOURCE as well as _BSD_SOURCE to supress warnings in glibc 2.12
Diffstat (limited to 'framebuffer')
-rw-r--r-- | framebuffer/Makefile.target | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framebuffer/Makefile.target b/framebuffer/Makefile.target index 699c8da80..edc059118 100644 --- a/framebuffer/Makefile.target +++ b/framebuffer/Makefile.target @@ -44,6 +44,7 @@ $(eval $(call pkg_config_find_and_add_enabled,JS,mozilla-js,JavaScript)) CFLAGS += -std=c99 -g -Dsmall \ -D_BSD_SOURCE \ + -D_DEFAULT_SOURCE \ -D_XOPEN_SOURCE=600 \ -D_POSIX_C_SOURCE=200112L \ $(shell $(PKG_CONFIG) --cflags libnsfb libhubbub libcss openssl) |