summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
index 3e5a1813acc9..f8ac11663bb4 100644
--- a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
+++ b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
@@ -26,6 +26,12 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sal/config.h>
+
+#if defined _WIN32
+#define _WINSOCK_DEPRECATED_NO_WARNINGS // warnings about inet_addr
+#endif
+
#include <errno.h>
#include <stdlib.h>