2
0
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:
Ondřej Surý 2019-06-04 10:13:45 +02:00 committed by Evan Hunt
parent 1e2f40d01b
commit ac3d9b97a3

View File

@ -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;