[Libreoffice-commits] core.git: sd/source
Stephan Bergmann
sbergman at redhat.com
Fri Nov 14 00:11:36 PST 2014
sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit f5e86ebc097f0f8bc5b282511149cb026710ecde
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Nov 14 09:08:27 2014 +0100
Silence winsock deprecation warning
Change-Id: Ib0fe869e79ceea77b4dfe00a6ad387ce9c4149cc
diff --git a/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c b/sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c
index 3e5a181..f8ac116 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>
More information about the Libreoffice-commits
mailing list