summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
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 /desktop/netsurf.c
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 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c3
1 files changed, 2 insertions, 1 deletions
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