From ac3d9b97a301866c538f9711b36cb3c40b5086e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 4 Jun 2019 10:13:45 +0200 Subject: [PATCH] Fix Windows build by moving #include to correct #ifdef block --- lib/isc/include/isc/rwlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/include/isc/rwlock.h b/lib/isc/include/isc/rwlock.h index d1a4545339..f857c04dea 100644 --- a/lib/isc/include/isc/rwlock.h +++ b/lib/isc/include/isc/rwlock.h @@ -14,7 +14,6 @@ #define ISC_RWLOCK_H 1 #include -#include /*! \file isc/rwlock.h */ @@ -33,6 +32,7 @@ typedef enum { } isc_rwlocktype_t; #if USE_PTHREAD_RWLOCK +#include struct isc_rwlock { pthread_rwlock_t rwlock;