diff options
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r-- | ext/standard/link.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c index 23036067e7..eec0cb144b 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -33,6 +33,8 @@ #if HAVE_PWD_H #ifdef PHP_WIN32 #include "win32/pwd.h" +#elif defined(NETWARE) +#include "netware/pwd.h" #else #include <pwd.h> #endif @@ -79,7 +81,11 @@ PHP_FUNCTION(readlink) PHP_FUNCTION(linkinfo) { zval **filename; +#if defined(NETWARE) && defined(CLIB_STAT_PATCH) + struct stat_libc sb; +#else struct stat sb; +#endif int ret; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &filename) == FAILURE) { |