$NetBSD: patch-ad,v 1.1.1.1 1999/10/01 11:23:15 drochner Exp $ --- include/dx/arch.h.orig Sun Sep 26 22:27:58 1999 +++ include/dx/arch.h Sun Sep 26 22:28:20 1999 @@ -127,7 +127,7 @@ #endif -#if defined(freebsd) +#if defined(freebsd) || defined(__NetBSD__) #undef F_CHAR_READY #define F_CHAR_READY(fp) ((fp)->_r > 0)