hgomez 2002/11/07 07:31:01
Modified: jk/native2/common jk_channel_socket.c
Log:
The define should be set before #includes
Revision Changes Path
1.43 +3 -3 jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c
Index: jk_channel_socket.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- jk_channel_socket.c 7 Nov 2002 15:22:31 -0000 1.42
+++ jk_channel_socket.c 7 Nov 2002 15:31:01 -0000 1.43
@@ -71,6 +71,9 @@
* @author: Costin Manolache
*/
+/* affects include files on Solaris (for FIONBIO on Solaris 8) */
+#define BSD_COMP
+
#include "jk_map.h"
#include "jk_env.h"
#include "jk_channel.h"
@@ -82,9 +85,6 @@
#ifndef WIN32
#define closesocket close
#endif
-
-/* affects include files on Solaris (for FIONBIO on Solaris 8) */
-#define BSD_COMP
#define DEFAULT_HOST "127.0.0.1"
--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>