blob: f4fdd5ee3868aef40018d277c3a6bbe1008f4c26 (
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
|
$NetBSD: patch-aa,v 1.4 2005/09/25 10:40:18 rillig Exp $
--- fileio.c.orig Mon Dec 13 03:47:59 2004
+++ fileio.c Sat Sep 24 23:06:17 2005
@@ -19,6 +19,10 @@
*/
#include "dbench.h"
+#ifdef __APPLE__
+#include <sys/aio.h>
+#define fdatasync fsync
+#endif
#define MAX_FILES 200
@@ -375,12 +379,14 @@ void nb_qfileinfo(struct child_struct *c
void nb_qfsinfo(struct child_struct *child, int level, const char *status)
{
+#if 0 /* does this code do anything useful? */
struct statvfs st;
(void)level;
(void)status;
statvfs(child->directory, &st);
+#endif
}
void nb_findfirst(struct child_struct *child, char *fname, int level, int maxcnt,
|