=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/mytcpio.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -p -r1.12 -r1.13 --- OpenXM/src/kan96xx/plugin/mytcpio.c 2003/09/16 02:57:39 1.12 +++ OpenXM/src/kan96xx/plugin/mytcpio.c 2004/02/25 23:14:35 1.13 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/plugin/mytcpio.c,v 1.11 2003/07/20 07:23:31 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/plugin/mytcpio.c,v 1.12 2003/09/16 02:57:39 takayama Exp $ */ #include #include #include @@ -6,6 +6,7 @@ #include #include #include +#include /* -lnsl -lsocket /usr/ucblib/libucb.a */ #include "ox_kan.h" /* @@ -38,7 +39,6 @@ socketOpen(char *serverName,int portNumber) { static struct sockaddr_in me; static int s_waiting; static int on; - extern int errno; int tt; SET_TCPIOERROR; @@ -194,7 +194,6 @@ int oxSocketSelect0(int fd,int t) { fd_set readfds; struct timeval timeout; int debug = 0; - extern int errno; SET_TCPIOERROR; FD_ZERO(&readfds); FD_SET(fd,&readfds); @@ -226,7 +225,6 @@ oxSocketMultiSelect(int sid[],int size,int t,int resul fd_set readfds; struct timeval timeout; int isdata = 0; - extern errno; SET_TCPIOERROR; FD_ZERO(&readfds);