sd/source/ui/remotecontrol/mDNSResponder/dnssd_clientstub.c | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit f5e86ebc097f0f8bc5b282511149cb026710ecde Author: Stephan Bergmann <sberg...@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> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits