Wireshark-dev: [Wireshark-dev] Fix redefine of AF_INET6 on AIX 4.3.3
From: Albert Chin <[email protected]>
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 ([email protected])
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>