From: Peter van Dijk Date: Mon, 8 Jul 2013 07:26:20 +0000 (+0200) Subject: unbreak auth osx compilation, closes #902 X-Git-Tag: rec-3.6.0-rc1~583 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cefd8904f107ccdaad9d81b7ff281c681abc3d93;p=thirdparty%2Fpdns.git unbreak auth osx compilation, closes #902 --- diff --git a/pdns/utility.hh b/pdns/utility.hh index d9463c5bf0..a517bf4732 100644 --- a/pdns/utility.hh +++ b/pdns/utility.hh @@ -91,7 +91,14 @@ private: #else typedef int sem_value_t; -#endif +#if DARWIN || _AIX || __APPLE__ + uint32_t m_magic; + pthread_mutex_t m_lock; + pthread_cond_t m_gtzero; + sem_value_t m_count; + uint32_t m_nwaiters; +#endif // DARWIN || _AIX || __APPLE__ +#endif // WIN32 protected: public: