summaryrefslogtreecommitdiffstats
path: root/mDNSResponder/mDNSPosix/mDNSPosix.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-18 14:22:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-23 18:17:23 +0200
commit6da0dda3255e2a49365aee6904fe00d4f2ca9d68 (patch)
tree64260715093fa7ad6555fb8c150a8c0a404bf533 /mDNSResponder/mDNSPosix/mDNSPosix.h
parentmDNSResponder: Update to v878.270.2 (diff)
downloadrtems-libbsd-6da0dda3255e2a49365aee6904fe00d4f2ca9d68.tar.bz2
mDNSResponder: Port to RTEMS
Update #4010.
Diffstat (limited to 'mDNSResponder/mDNSPosix/mDNSPosix.h')
-rwxr-xr-xmDNSResponder/mDNSPosix/mDNSPosix.h6
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"