mmanders 2004/01/05 14:41:53
Modified: jk/native/common jk_global.h
Log:
Updated to build properly for NetWare with recent socket additions.
Revision Changes Path
1.26 +7 -2 jakarta-tomcat-connectors/jk/native/common/jk_global.h
Index: jk_global.h
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_global.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- jk_global.h 5 Nov 2003 09:15:39 -0000 1.25
+++ jk_global.h 5 Jan 2004 22:41:53 -0000 1.26
@@ -90,8 +90,13 @@
#include <sys/timeb.h>
#else
#include <unistd.h>
+ #if defined(NETWARE) && defined(__NOVELL_LIBC__)
+ #include "novsock2.h"
+ #define __sys_socket_h__
+ #define __netdb_h__
+ #define __netinet_in_h__
+ #endif
#include <netdb.h>
-
#include <netinet/in.h>
#include <sys/socket.h>
#ifndef NETWARE
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]