summaryrefslogtreecommitdiff
path: root/audio/xmms/patches/patch-aa
blob: 84edc31033b116c9d37322bdced503e324932559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.9 2005/09/06 08:10:57 abs Exp $

--- Input/cdaudio/cdaudio.c.orig	2004-05-06 17:52:36.000000000 +0200
+++ Input/cdaudio/cdaudio.c	2004-05-06 17:54:45.000000000 +0200
@@ -305,7 +305,11 @@
  	FILE *mounts;
  	struct mntent *mnt;
 #elif defined(HAVE_GETMNTINFO)
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
+	struct statvfs *fsp;
+#else
  	struct statfs *fsp;
+#endif
  	int entries;
 #endif