24 lines
742 B
Plaintext
24 lines
742 B
Plaintext
$NetBSD: patch-ag,v 1.1 2010/08/25 08:02:21 manu Exp $
|
|
|
|
NetBSD has the same build oddities af FreeBSD.
|
|
--- ./include/fuse_compat.h 2010-07-25 15:16:35.000000000 +0200
|
|
+++ ./include/fuse_compat.h.orig 2010-07-25 15:14:11.000000000 +0200
|
|
@@ -64,9 +64,9 @@
|
|
int *multithreaded, int *fd);
|
|
|
|
void fuse_teardown_compat22(struct fuse *fuse, int fd, char *mountpoint);
|
|
|
|
-#ifndef __FreeBSD__
|
|
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
|
|
#include <sys/statfs.h>
|
|
|
|
struct fuse_operations_compat22 {
|
|
int (*getattr) (const char *, struct stat *);
|
|
@@ -197,5 +197,5 @@
|
|
|
|
void fuse_main_compat1(int argc, char *argv[],
|
|
const struct fuse_operations_compat1 *op);
|
|
|
|
-#endif /* __FreeBSD__ */
|
|
+#endif /* __FreeBSD__ || __NetBSD__ */
|