$OpenBSD: patch-src_ocat_h,v 1.1 2010/10/25 17:37:52 pirofti Exp $ --- src/ocat.h.orig Mon Oct 25 02:37:36 2010 +++ src/ocat.h Mon Oct 25 02:37:52 2010 @@ -34,6 +34,11 @@ #include #include +#include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#include #include #include @@ -41,9 +46,6 @@ #include #include -#ifdef HAVE_SYS_SOCKET_H -#include -#endif #ifdef HAVE_ENDIAN_H #include #elif HAVE_SYS_ENDIAN_H