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 --- desktop/netsurf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index afefd50be..62adf63e8 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -104,7 +104,8 @@ void netsurf_init(int argc, char** argv) * SIGPIPE, anyway, so may as well just ignore them all. */ signal(SIGPIPE, SIG_IGN); -#if !((defined(__SVR4) && defined(__sun)) || defined(__NetBSD__)) +#if !((defined(__SVR4) && defined(__sun)) || defined(__NetBSD__) || \ + defined(__OpenBSD__)) stdout = stderr; #endif -- cgit v1.2.3