From 3e3d9e941e2cab3581e56a7f377e76da17b005a2 Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Fri, 29 Jul 2005 09:20:32 +0000 Subject: [PATCH] In NetWare few of the programs like apache2 and ldap use winsock inclusinf sys/socket.h is not desirable. --Kamesh --- Zend/acconfig.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Zend/acconfig.h b/Zend/acconfig.h index 6df692ca49..29d4f783e2 100644 --- a/Zend/acconfig.h +++ b/Zend/acconfig.h @@ -105,6 +105,13 @@ int zend_sprintf(char *buffer, const char *format, ...); #endif /* ifndef ZEND_ACCONFIG_H_NO_C_PROTOS */ +#ifdef NETWARE +#ifdef USE_WINSOCK +#/*This detection against winsock is of no use*/ undef HAVE_SOCKLEN_T +#/*This detection against winsock is of no use*/ undef HAVE_SYS_SOCKET_H +#endif +#endif + /* * Local variables: * tab-width: 4 -- 2.50.1