Files
2013-09-26 17:14:40 +02:00

18 lines
444 B
Plaintext

$NetBSD: patch-aa,v 1.10 2005/09/06 08:10:57 abs Exp $
--- src/cdaudio.c.orig 2004-09-09 00:26:20.000000000 +0000
+++ src/cdaudio.c
@@ -121,8 +121,12 @@ cd_init_device(char *device_name)
#endif
#ifdef HAVE_GETMNTINFO
int mounts;
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
+ struct statvfs *mnt;
+#else
struct statfs *mnt;
#endif
+#endif
char devname[255];
struct stat st;
int len = 0;