$OpenBSD$ missing includes wrong ordering. --- epan/dissectors/packet-infiniband_sdp.c.orig Thu Jan 12 15:11:41 2012 +++ epan/dissectors/packet-infiniband_sdp.c Thu Jan 12 16:49:01 2012 @@ -28,20 +28,31 @@ # include "config.h" #endif +#include + +#ifdef HAVE_SYS_TYPES_H +#include +#endif + +#ifdef HAVE_SYS_SOCKET_H +# include /* needed to define AF_ values on UNIX */ +#endif + +#ifdef HAVE_NETINET_IN_H +# include +#endif + +#ifdef HAVE_ARPA_INET_H +# include +#endif + #include #include #include #include -#include #include -#ifdef HAVE_ARPA_INET_H -# include -#endif -#ifdef HAVE_SYS_SOCKET_H -# include /* needed to define AF_ values on UNIX */ -#endif #ifdef HAVE_WINSOCK2_H # include /* needed to define AF_ values on Windows */ #endif