<sys/mount.h>: Put the <sys/mplock2.h> inclusion under _KERNEL.
authorSascha Wildner <saw@online.de>
Sat, 23 May 2020 21:42:07 +0000 (23:42 +0200)
committerSascha Wildner <saw@online.de>
Sat, 23 May 2020 21:42:07 +0000 (23:42 +0200)
No need to include in userland.

Reported-by: tuxillo
sys/sys/mount.h

index 3d636d3..3e6be07 100644 (file)
@@ -33,7 +33,6 @@
 #ifndef _SYS_MOUNT_H_
 #define _SYS_MOUNT_H_
 
-#include <sys/mplock2.h>
 #include <sys/queue.h>
 #include <sys/tree.h>
 #include <sys/ucred.h>
@@ -58,6 +57,7 @@
 #include <sys/thread.h>
 #endif
 #include <sys/vfs_quota.h>
+#include <sys/mplock2.h>
 #endif
 
 struct thread;