diff options
-rw-r--r-- | css/parser.y | 1 | ||||
-rw-r--r-- | desktop/netsurf.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/css/parser.y b/css/parser.y index 704d217cf..48ff5732c 100644 --- a/css/parser.y +++ b/css/parser.y @@ -398,6 +398,7 @@ any(A) ::= ASTERISK(B). %extra_argument { struct css_parser_params *param } %include { +#include <assert.h> #include <strings.h> #define CSS_INTERNALS #include "css/css.h" diff --git a/desktop/netsurf.c b/desktop/netsurf.c index d90683be8..5ae5c33de 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -85,7 +85,7 @@ 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)) +#if !((defined(__SVR4) && defined(__sun)) || defined(__NetBSD__)) stdout = stderr; #endif |