summaryrefslogtreecommitdiff
path: root/graphics/dx/patches/patch-ad
blob: 32615eb19898fe9249daed0d95b5fdff5bf5c79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2002/02/05 22:23:32 drochner Exp $

--- include/dx/arch.h.orig	Mon May 21 07:06:57 2001
+++ include/dx/arch.h	Tue Feb  5 12:21:36 2002
@@ -175,7 +175,7 @@
 /* 
  * FreeBSD (and probably NetBSD and OpenBSD)
  */
-#if defined(freebsd)
+#if defined(freebsd) || defined(__NetBSD__)
 
 #undef F_CHAR_READY
 #define F_CHAR_READY(fp) ((fp)->_r > 0 || (fp)->_ub._base)