summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2002-09-05 11:50:43 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2002-09-05 11:50:43 +0000
commitbbc162d164ac5ad581455df1771cdebd0c5350f3 (patch)
treedba83bbb661da9243f42aaf98749ae5f52c62690
parent76d94e57ab24a0ac849125b5447d3aca297839f1 (diff)
downloadphp-git-bbc162d164ac5ad581455df1771cdebd0c5350f3.tar.gz
NetWare related additions/modifications
-rw-r--r--ext/snmp/snmp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 623d1b541e..f9924286ff 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -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>