=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2018/io/sio.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- OpenXM_contrib2/asir2018/io/sio.c 2020/10/06 06:31:20 1.4 +++ OpenXM_contrib2/asir2018/io/sio.c 2021/03/24 14:03:09 1.5 @@ -44,7 +44,7 @@ * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. - * $OpenXM: OpenXM_contrib2/asir2018/io/sio.c,v 1.3 2019/12/13 14:40:50 fujimoto Exp $ + * $OpenXM: OpenXM_contrib2/asir2018/io/sio.c,v 1.4 2020/10/06 06:31:20 noro Exp $ */ #include "ca.h" #include @@ -79,6 +79,9 @@ struct IOFP iofp[MAXIOFP]; void init_socket(void); +#if defined(VISUAL) +typedef int socklen_t; +#endif #if !defined(VISUAL) && !defined(__MINGW32__) #define closesocket(s) (close((s))) #endif