Gitweb links:
...log
http://git.netsurf-browser.org/libnsutils.git/shortlog/e9e4ee6ffa7fa316ba...
...commit
http://git.netsurf-browser.org/libnsutils.git/commit/e9e4ee6ffa7fa316ba8d...
...tree
http://git.netsurf-browser.org/libnsutils.git/tree/e9e4ee6ffa7fa316ba8d47...
The branch, master has been updated
via e9e4ee6ffa7fa316ba8d479e19639391a3d58e57 (commit)
from 7edbb1ad09a34424f295b123505f0aa69c696a72 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/libnsutils.git/commit/?id=e9e4ee6ffa7fa316...
commit e9e4ee6ffa7fa316ba8d479e19639391a3d58e57
Author: Vincent Sanders <vince(a)kyllikki.org>
Commit: Vincent Sanders <vince(a)kyllikki.org>
need _BSD_SOURCE to be defined to get useful unistd on some platforms
diff --git a/Makefile b/Makefile
index 10b2120..e84dc12 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,8 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CFLAGS := -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURCE \
+ -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
ifneq ($(GCCVER),2)
CFLAGS := $(CFLAGS) -std=c99
else
-----------------------------------------------------------------------
Summary of changes:
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 10b2120..e84dc12 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,8 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs
-CFLAGS := -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
+CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURCE \
+ -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS)
ifneq ($(GCCVER),2)
CFLAGS := $(CFLAGS) -std=c99
else
--
NetSurf generalised utility library