We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2f832 commit c6a2fe1Copy full SHA for c6a2fe1
src/librc/librc.h
@@ -44,8 +44,10 @@
44
#include <unistd.h>
45
46
#if defined(BSD) && !defined(__GNU__)
47
+ #if !defined(__NetBSD__)
48
+ #include <sys/user.h>
49
+ #endif
50
#include <sys/param.h>
-#include <sys/user.h>
51
#include <sys/sysctl.h>
52
#include <kvm.h>
53
#else
src/mountinfo/mountinfo.c
@@ -20,6 +20,11 @@
20
# include <sys/mount.h>
21
22
# define F_FLAGS f_flags
23
+#elif defined(__NetBSD__)
24
+# include <sys/mount.h>
25
+
26
+# define statfs statvfs
27
+# define F_FLAGS f_flag
28
#elif defined(BSD) && !defined(__GNU__)
29
# include <sys/statvfs.h>
30
0 commit comments