$NetBSD: patch-ac,v 1.6 2006/03/02 21:28:23 joerg Exp $ --- sbr/discard.c.orig 2006-03-02 20:24:08.000000000 +0000 +++ sbr/discard.c @@ -51,7 +51,7 @@ discard (FILE *io) # endif #endif -#ifdef _FSTDIO +#if defined(_FSTDIO) || defined(__DragonFly__) fpurge (io); #else # ifdef LINUX_STDIO