diff options
author | Rob Kendrick <rjek@netsurf-browser.org> | 2008-03-12 21:16:15 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@netsurf-browser.org> | 2008-03-12 21:16:15 +0000 |
commit | 6906f6b861882530bf1e7fdb38564ac3aad30909 (patch) | |
tree | 93525c8bf8f92c5a790bb95740d8b01be9145792 /Makefile.unix | |
parent | c85be437b373f5ee00f9828b767d7ee1e578af28 (diff) | |
download | netsurf-6906f6b861882530bf1e7fdb38564ac3aad30909.tar.gz netsurf-6906f6b861882530bf1e7fdb38564ac3aad30909.tar.bz2 |
Add -D_NETBSD_SOURCE to Makefile.unix for building on NetBSD. Also don't provide prototype for strcasestr under NetBSD. Fixes segfaults.
svn path=/trunk/netsurf/; revision=3943
Diffstat (limited to 'Makefile.unix')
-rw-r--r-- | Makefile.unix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.unix b/Makefile.unix index e78e61ec2..ce6b0b7b4 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -89,6 +89,7 @@ GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \ -D_BSD_SOURCE \ -D_XOPEN_SOURCE=600 \ -D_POSIX_C_SOURCE=200112L \ + -D_NETBSD_SOURCE \ $(WARNFLAGS) -I. -g -O \ $(shell pkg-config --cflags libglade-2.0 gtk+-2.0 librsvg-2.0) \ $(shell xml2-config --cflags) |