From ec2bfcd3029b78b2441a111df8d9d0df4f30cd8c Mon Sep 17 00:00:00 2001 From: Unbit Date: Wed, 13 Mar 2013 11:14:32 +0100 Subject: [PATCH] allows building router basicauth on cygwin --- plugins/router_basicauth/router_basicauth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/router_basicauth/router_basicauth.c b/plugins/router_basicauth/router_basicauth.c index 2a9b27fc..9f47a4e4 100644 --- a/plugins/router_basicauth/router_basicauth.c +++ b/plugins/router_basicauth/router_basicauth.c @@ -4,6 +4,9 @@ #ifdef __linux__ #include +#elif defined(__CYGWIN__) +#include +pthread_mutex_t ur_basicauth_crypt_mutex; #else pthread_mutex_t ur_basicauth_crypt_mutex; #endif