$NetBSD: patch-ad,v 1.3 2006/04/11 15:08:38 joerg Exp $ --- sbr/discard.c.orig 2006-04-11 13:20:41.000000000 +0000 +++ sbr/discard.c @@ -61,7 +61,7 @@ FILE *io; #endif /* SYS5 */ #endif /* POSIX */ -#ifdef _FSTDIO +#if defined(_FSTDIO) || defined(__DragonFly__) fpurge (io); #else #ifdef _STDIO_USES_IOSTREAM