mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
small portability fix to build on linux/windows
This commit is contained in:
parent
297151a0f3
commit
b62cb72c48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210121
|
@ -69,7 +69,11 @@ struct pfil_head {
|
|||
pfil_list_t ph_out;
|
||||
int ph_type;
|
||||
int ph_nhooks;
|
||||
#if defined( __linux__ ) || defined( _WIN32 )
|
||||
rwlock_t ph_mtx;
|
||||
#else
|
||||
struct rmlock ph_lock;
|
||||
#endif
|
||||
union {
|
||||
u_long phu_val;
|
||||
void *phu_ptr;
|
||||
|
|
Loading…
Reference in a new issue