blob: 8c5e402f0eabefec94c4ffb991edb239d4d349d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 17:13:21 rh Exp $
--- libmedusa/medusa-index-progress.c.orig Sun Apr 8 08:38:01 2001
+++ libmedusa/medusa-index-progress.c
@@ -54,7 +54,12 @@
#ifdef HAVE_STATVFS
# include <sys/statvfs.h>
#elif HAVE_STATFS
-# include <sys/statfs.h>
+# ifdef HAVE_STATVFS_H
+# include <sys/statfs.h>
+# else
+# include <sys/param.h>
+# include <sys/mount.h>
+# endif
#else
# warning "Medusa will not be able to record your indexing progress because you don't have either statfs or statvfs."
#endif
|