projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac7dad
)
NetBSD uses statvfs for the functionality of statfs on Linux
author
Kamil Rytarowski
<n54@gmx.com>
Tue, 5 Jul 2016 14:33:51 +0000
(16:33 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 4 Oct 2016 20:18:23 +0000
(22:18 +0200)
libs/pbd/mountpoint.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/mountpoint.cc
b/libs/pbd/mountpoint.cc
index 82aaadb9eb26f2a6a27ad0d58cc69829d881358b..89675c985e1260a4bb8ac131781b1f6fe3118a32 100644
(file)
--- a/
libs/pbd/mountpoint.cc
+++ b/
libs/pbd/mountpoint.cc
@@
-116,7
+116,11
@@
mountpoint (string path)
string
mountpoint (string path)
{
+#if defined(__NetBSD__)
+ struct statvfs *mntbufp = 0;
+#else
struct statfs *mntbufp = 0;
+#endif
int count;
unsigned int maxmatch = 0;
unsigned int matchlen;