summaryrefslogtreecommitdiff
path: root/audio/gqmpeg/patches/patch-ab
blob: 370ce9053c07539356948553ade0546958f5ca27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ab,v 1.22 2004/05/10 18:29:30 tron Exp $

--- src/cpu_perc.c.orig	2002-05-02 21:08:34.000000000 +0200
+++ src/cpu_perc.c	2004-05-10 20:22:09.000000000 +0200
@@ -66,7 +66,11 @@
 	/* find where the proc fs is mounted, some strange people could mount it
 	   in another place than /proc, it can even be not mounted at all */
 	{
+#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
+	  struct statvfs *mntbufp;
+#else
 	  struct statfs *mntbufp;
+#endif
 	  int fs_count;
 	  int procfs_found = 0;