cvs: php4 /ext/snmp snmp.c
| From: | Anantha Kesari H Y | Date: | Thu, 05 Sep 2002 11:50:44 +0000 |
| Subject: | cvs: php4 /ext/snmp snmp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13851@lists.php.net to get a copy of this message | ||
hyanantha Thu Sep 5 07:50:44 2002 EDT
Modified files:
/php4/ext/snmp snmp.c
Log:
NetWare related additions/modifications
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.59 php4/ext/snmp/snmp.c:1.60
--- php4/ext/snmp/snmp.c:1.59 Sat Jul 13 01:42:01 2002
+++ php4/ext/snmp/snmp.c Thu Sep 5 07:50:43 2002
@@ -17,7 +17,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.59 2002/07/13 05:42:01 sniper Exp $ */
+/* $Id: snmp.c,v 1.60 2002/09/05 11:50:43 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>