summaryrefslogtreecommitdiff
path: root/graphics/xv/patches/patch-aa
blob: 6f19d7262f621c13d20a530de9330ff4dcd9d5d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-aa,v 1.4 2006/03/15 19:27:31 minskim Exp $

--- vdcomp.c.orig	2006-03-15 11:00:24.000000000 -0800
+++ vdcomp.c
@@ -116,7 +116,8 @@
 #  if defined(hp300) || defined(hp800) || defined(NeXT)
 #   include <sys/malloc.h>                /* it's in 'sys' on HPs and NeXT */
 #  else
-#   if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+#   if !defined(__386BSD__) && !defined(__FreeBSD__) && !defined(__NetBSD__) \
+       && !defined(__DARWIN__)
     /*
      I want to use BSD macro for checking if this OS is *BSD or not,
      but the macro is defined in <sys/parm.h>, which I don't know all