28 lines
911 B
Plaintext
28 lines
911 B
Plaintext
$NetBSD: patch-ai,v 1.1 2010/08/25 08:02:21 manu Exp $
|
|
|
|
NetBSD has the same build oddities af FreeBSD.
|
|
--- ./include/fuse_lowlevel_compat.h.orig 2010-07-25 15:21:50.000000000 +0200
|
|
+++ ./include/fuse_lowlevel_compat.h 2010-07-25 15:22:20.000000000 +0200
|
|
@@ -71,9 +71,9 @@
|
|
|
|
char *fuse_add_dirent(char *buf, const char *name, const struct stat *stbuf,
|
|
off_t off);
|
|
|
|
-#ifndef __FreeBSD__
|
|
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
|
|
#include <sys/statfs.h>
|
|
|
|
struct fuse_lowlevel_ops_compat {
|
|
@@ -138,9 +138,9 @@
|
|
struct fuse_session *fuse_lowlevel_new_compat(const char *opts,
|
|
const struct fuse_lowlevel_ops_compat *op,
|
|
size_t op_size, void *userdata);
|
|
|
|
-#endif /* __FreeBSD__ */
|
|
+#endif /* __FreeBSD__ || __NetBSD__ */
|
|
|
|
struct fuse_chan_ops_compat24 {
|
|
int (*receive)(struct fuse_chan *ch, char *buf, size_t size);
|
|
int (*send)(struct fuse_chan *ch, const struct iovec iov[],
|