$OpenBSD$ missing includes wrong ordering. --- epan/dissectors/packet-fcoib.c.orig Thu Jan 12 15:11:41 2012 +++ epan/dissectors/packet-fcoib.c Thu Jan 12 16:41:47 2012 @@ -31,6 +31,23 @@ #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 @@ -39,12 +56,6 @@ #include #include "packet-infiniband.h" -#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