From c72b3cf71a2e9eabbee8c6fa6819a1909478c212 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Mon, 2 Mar 2009 19:26:11 +0000 Subject: 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 --- utils/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/config.h') 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 */ -- cgit v1.2.3