summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/udp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/udp.h b/include/udp.h
index 29f383b..2b591c3 100644
--- a/include/udp.h
+++ b/include/udp.h
@@ -15,7 +15,9 @@ typedef struct struct_sock_udp_t
int sock;
int proto;
+#ifdef SUPPORT_IPv6
struct sockaddr_in6 sockAddr6;
+#endif
struct sockaddr_in sockAddr;
} sock_udp_t;