diff options
| -rw-r--r-- | share/man/man9/mutex.9 | 2 | ||||
| -rw-r--r-- | share/man/man9/sx.9 | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 4ea7e542adab..fe0ac36b77ee 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -50,6 +50,8 @@ .Nm mtx_assert .Nd kernel synchronization primitives .Sh SYNOPSIS +.Fd #include <sys/types.h> +.Fd #include <sys/lock.h> .Fd #include <sys/mutex.h> .Ft int .Fn mtx_init "struct mtx *mutex" "char *name" "int opts" diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9 index 07a822a911a5..63101b19824b 100644 --- a/share/man/man9/sx.9 +++ b/share/man/man9/sx.9 @@ -39,6 +39,9 @@ .Nm sx_xunlock .Nd kernel shared/exclusive lock. .Sh SYNOPSIS +.Fd #include <sys/types.h> +.Fd #include <sys/lock.h> +.Fd #include <sys/mutex.h> .Fd #include <sys/sx.h> .Ft void .Fn sx_init "struct sx *sx" "const char *description" |
