Author: fuankg Date: Sun Oct 24 11:55:49 2010 New Revision: 1026770 URL: http://svn.apache.org/viewvc?rev=1026770&view=rev Log: Fixed NetWare build.
Modified: tomcat/jk/trunk/native/common/jk_global.h Modified: tomcat/jk/trunk/native/common/jk_global.h URL: http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_global.h?rev=1026770&r1=1026769&r2=1026770&view=diff ============================================================================== --- tomcat/jk/trunk/native/common/jk_global.h (original) +++ tomcat/jk/trunk/native/common/jk_global.h Sun Oct 24 11:55:49 2010 @@ -130,7 +130,7 @@ extern char *strdup(const char *str); #else /* WIN32 */ #include <unistd.h> #if defined(NETWARE) && defined(__NOVELL_LIBC__) -#include "novsock2.h" +#include <novsock2.h> #define __sys_socket_h__ #define __netdb_h__ #define __netinet_in_h__ @@ -141,7 +141,12 @@ extern char *strdup(const char *str); #include <netinet/in.h> #include <sys/socket.h> #include <fcntl.h> -#ifndef NETWARE +#ifdef NETWARE +#ifndef _SOCKLEN_T +#define _SOCKLEN_T +typedef int socklen_t; +#endif +#else #include <netinet/tcp.h> #include <arpa/inet.h> #include <sys/un.h> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org