diff options
Diffstat (limited to 'mDNSResponder/mDNSPosix/mDNSPosix.h')
-rwxr-xr-x | mDNSResponder/mDNSPosix/mDNSPosix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mDNSResponder/mDNSPosix/mDNSPosix.h b/mDNSResponder/mDNSPosix/mDNSPosix.h index ca60d806..acff9c33 100755 --- a/mDNSResponder/mDNSPosix/mDNSPosix.h +++ b/mDNSResponder/mDNSPosix/mDNSPosix.h @@ -20,6 +20,9 @@ #include <signal.h> #include <sys/time.h> +#ifdef __rtems__ +#include <pthread.h> +#endif /* __rtems__ */ #ifdef __cplusplus extern "C" { @@ -55,6 +58,9 @@ struct mDNS_PlatformSupport_struct #if HAVE_IPV6 int unicastSocket6; #endif +#ifdef __rtems__ + pthread_mutex_t mutex; +#endif /* __rtems__ */ }; #define uDNS_SERVERS_FILE "/etc/resolv.conf" |