blob: 3d74eb22bd5c832e9cb6fe66dab83048a131f9f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-ad,v 1.1.1.1 2001/05/14 17:13:21 rh Exp $
--- indexer/medusa-file-index-daemon.c.orig Fri Apr 27 02:55:43 2001
+++ indexer/medusa-file-index-daemon.c
@@ -33,19 +33,26 @@
#include <libgnomevfs/gnome-vfs-types.h>
#include <libgnomevfs/gnome-vfs-uri.h>
#include <libgnomevfs/gnome-vfs-utils.h>
-#include <popt.h>
+#include <popt-gnome.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
+#endif
#ifdef HAVE_STATVFS
#include <sys/statvfs.h>
#elif defined(HAVE_STATFS)
+#ifdef HAVE_STATFS_H
#include <sys/statfs.h>
+#else
+#include <sys/param.h>
+#include <sys/mount.h>
+#endif /* HAVE_STATFS_H */
#endif /* HAVE_STATVFS */
#include <time.h>
|