$NetBSD: patch-at,v 1.1 2007/04/27 19:45:02 christos Exp $ --- stream.c.orig 2005-06-01 15:22:07.000000000 -0400 +++ stream.c 2007-04-27 11:31:51.000000000 -0400 @@ -50,7 +50,7 @@ #include #endif -#if defined(HAVE_SYS_STREAM_H) || defined(LINUX) || defined(FREEBSD) +#if defined(HAVE_SYS_STREAM_H) || defined(LINUX) || defined(FREEBSD) || defined(NETBSD) #ifndef HAVE_STROPTS_H #define RS_HIPRI 1 @@ -370,7 +370,7 @@ } #endif -#if !defined(LINUX) && !defined(FREEBSD) +#if !defined(LINUX) && !defined(ALLBSD) static const struct xlat stream_flush_options[] = { { FLUSHR, "FLUSHR" }, @@ -1298,6 +1298,6 @@ } } -#endif /* !LINUX && !FREEBSD */ +#endif /* !LINUX && !ALLBSD */ -#endif /* HAVE_SYS_STREAM_H || LINUX || FREEBSD */ +#endif /* HAVE_SYS_STREAM_H || LINUX || FREEBSD || NETBSD */