diff options
-rw-r--r-- | ext/session/mod_files.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index dd9361b34e..2c2b0fa555 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -121,7 +121,9 @@ static void ps_files_close(ps_files *data) static void ps_files_open(ps_files *data, const char *key TSRMLS_DC) { char buf[MAXPATHLEN]; +#ifdef O_NOFOLLOW struct stat sbuf; +#endif if (data->fd < 0 || !data->lastkey || strcmp(key, data->lastkey)) { if (data->lastkey) { |