$NetBSD$

--- io/cd/unix/src/cdaudio.cpp.orig	2003-09-16 17:34:59.000000000 +0000
+++ io/cd/unix/src/cdaudio.cpp
@@ -114,8 +114,12 @@ cd_init_device(char *device_name)
 #endif
 #ifdef HAVE_GETMNTINFO
    int mounts;
+#if defined(__NetBSD__)
+   struct statvfs *mnt;
+#else
    struct statfs *mnt;
 #endif
+#endif
    char devname[255];
    struct stat st;
    int len = 0;
