cvs: php4(PHP_4_2_0) /ext/snmp snmp.c
| From: | Anantha Kesari H Y | Date: | Thu, 24 Oct 2002 09:59:31 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/snmp snmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15291@lists.php.net to get a copy of this message | ||
hyanantha Thu Oct 24 05:59:31 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/snmp snmp.c
Log:
NetWare related changes/modifications.
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.56 php4/ext/snmp/snmp.c:1.56.2.1
--- php4/ext/snmp/snmp.c:1.56 Thu Feb 28 22:31:01 2002
+++ php4/ext/snmp/snmp.c Thu Oct 24 05:59:31 2002
@@ -17,7 +17,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.56 2002/03/01 03:31:01 yohgaki Exp $ */
+/* $Id: snmp.c,v 1.56.2.1 2002/10/24 09:59:31 hyanantha Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -32,6 +32,20 @@
#include <errno.h>
#include <process.h>
#include "win32/time.h"
+#elif defined(NETWARE)
+#ifdef USE_WINSOCK
+/*#include <ws2nlm.h>*/
+#include <novsock2.h>
+#else
+#include <sys/socket.h>
+#endif
+#include <errno.h>
+/*#include <process.h>*/
+#ifdef NEW_LIBC
+#include <sys/timeval.h>
+#else
+#include "netware/time_nw.h"
+#endif
#else
#include <sys/socket.h>
#include <netinet/in.h>