Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Fix redefine of AF_INET6 on AIX 4.3.3

Date: Sun, 18 Jun 2006 10:06:07 -0500
This fixes a redefine of AF_INET6 on AIX 4.3.3. We pull in
<sys/socket.h> so the OS can define it first, nullifying the
#define in epan/inet_v6defs.h.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
Index: epan/dissectors/packet-ssl.c
===================================================================
--- epan/dissectors/packet-ssl.c	(revision 18488)
+++ epan/dissectors/packet-ssl.c	(working copy)
@@ -96,6 +96,11 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <sys/types.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
 #include <glib.h>
 
 #include <epan/conversation.h>