diff options
| -rw-r--r-- | configure.in | 1 | ||||
| -rw-r--r-- | main/php_virtual_cwd.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index e948a70471..07453b4bc5 100644 --- a/configure.in +++ b/configure.in @@ -293,6 +293,7 @@ sys/varargs.h \ sys/wait.h \ unistd.h \ unix.h \ +utime.h \ ) dnl Checks for typedefs, structures, and compiler characteristics. diff --git a/main/php_virtual_cwd.h b/main/php_virtual_cwd.h index 26ceffc78c..fb1f23beec 100644 --- a/main/php_virtual_cwd.h +++ b/main/php_virtual_cwd.h @@ -28,6 +28,10 @@ #include <sys/types.h> #include <sys/stat.h> +#ifdef HAVE_UTIME_H +#include <utime.h> +#endif + #ifndef ZEND_WIN32 #include <unistd.h> #endif |
