summaryrefslogtreecommitdiff
path: root/utils/config.h
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2009-03-02 19:26:11 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2009-03-02 19:26:11 +0000
commitc72b3cf71a2e9eabbee8c6fa6819a1909478c212 (patch)
treed83035c9188fbbaf70eaab0aedce74f66574fcb0 /utils/config.h
parent8dfdd67e878e7a40ecd138bb432bdaa7c53ce0c6 (diff)
downloadnetsurf-c72b3cf71a2e9eabbee8c6fa6819a1909478c212.tar.gz
netsurf-c72b3cf71a2e9eabbee8c6fa6819a1909478c212.tar.bz2
OpenBSD 4.4 compilation fixes. Does not deal with lack of -Wextra or -Wstrict-aliasing for lpu or hubbub.
svn path=/trunk/netsurf/; revision=6673
Diffstat (limited to 'utils/config.h')
-rw-r--r--utils/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/config.h b/utils/config.h
index fd1cf43fa..a406e3f1e 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -25,7 +25,8 @@
#define HAVE_STRNDUP
#if defined(__FreeBSD__) || (defined(__SRV4) && defined(__sun)) || \
- defined(__APPLE__) || defined(__HAIKU__) || defined(__BEOS__)
+ defined(__APPLE__) || defined(__HAIKU__) || defined(__BEOS__) \
+ || defined(__OpenBSD__)
/* FreeBSD and Solaris do not have this function, so
* we implement it ourselves in util.c
*/