summaryrefslogtreecommitdiff
path: root/ext/standard/fsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/fsock.h')
-rw-r--r--ext/standard/fsock.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/standard/fsock.h b/ext/standard/fsock.h
index fb134e97bc..5297bbf729 100644
--- a/ext/standard/fsock.h
+++ b/ext/standard/fsock.h
@@ -25,6 +25,14 @@
#ifndef FSOCK_H
#define FSOCK_H
+#ifdef NETWARE
+#ifdef NEW_LIBC
+#include "sys/timeval.h"
+#else
+#include "netware/time_nw.h" /* For 'timeval' */
+#endif
+#endif
+
#include "file.h"
#include "php_network.h"