mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Fix Windows build by moving #include <pthread.h> to correct #ifdef block
This commit is contained in:
parent
1e2f40d01b
commit
ac3d9b97a3
@ -14,7 +14,6 @@
|
||||
#define ISC_RWLOCK_H 1
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <pthread.h>
|
||||
|
||||
/*! \file isc/rwlock.h */
|
||||
|
||||
@ -33,6 +32,7 @@ typedef enum {
|
||||
} isc_rwlocktype_t;
|
||||
|
||||
#if USE_PTHREAD_RWLOCK
|
||||
#include <pthread.h>
|
||||
|
||||
struct isc_rwlock {
|
||||
pthread_rwlock_t rwlock;
|
||||
|
Loading…
x
Reference in New Issue
Block a user