summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/mac/qplatformdefs.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-03-10 16:20:20 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-08-22 22:26:33 +0000
commitabe269bb72233b360bccbc8f54d3f13e8dc10b5a (patch)
tree26a346b578e5bbb6f4dcfdf94f3e558a984a4649 /mkspecs/common/mac/qplatformdefs.h
parentef05ad0ac500c10b1a3ae254d8a07968d6cf0c9e (diff)
QNativeSocketEngine: add code to receive IP header data
Change-Id: Iee8cbc07c4434ce9b560ffff13ca466263abcb1b Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'mkspecs/common/mac/qplatformdefs.h')
-rw-r--r--mkspecs/common/mac/qplatformdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/common/mac/qplatformdefs.h b/mkspecs/common/mac/qplatformdefs.h
index 44664933df..18f62e23f8 100644
--- a/mkspecs/common/mac/qplatformdefs.h
+++ b/mkspecs/common/mac/qplatformdefs.h
@@ -62,6 +62,7 @@
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#define __APPLE_USE_RFC_3542
#include <netinet/in.h>
#ifndef QT_NO_IPV6IFNAME
#include <net/if.h>