- avoid IPv6 structures redeclaration in Ubuntu 12.04 builds

This commit is contained in:
Dmytro Bogovych 2019-04-02 11:40:37 +03:00
parent b9237688f2
commit 9eb8d9491b
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
# include <ws2tcpip.h> # include <ws2tcpip.h>
#else #else
# include <netinet/in.h> # include <netinet/in.h>
# if defined(TARGET_LINUX) || defined(TARGET_ANDROID) # if /*defined(TARGET_LINUX) || */ defined(TARGET_ANDROID)
# include <linux/in6.h> # include <linux/in6.h>
# endif # endif
#endif #endif

View File

@ -22,7 +22,7 @@
# include "ICEIosSupport.h" # include "ICEIosSupport.h"
#endif #endif
# include <unistd.h> # include <unistd.h>
# if defined(TARGET_ANDROID) || defined(TARGET_LINUX) # if defined(TARGET_ANDROID)/* || defined(TARGET_LINUX) */
# include <linux/in6.h> # include <linux/in6.h>
# endif # endif
#endif #endif