Skip to content

Commit 6b7144d

Browse files
committed
Fix build
#Thanks Andy
1 parent e351aed commit 6b7144d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/fopen_wrappers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC)
272272
char user[32]; /* to try open the directory */
273273
struct passwd *pw;
274274
#if defined(ZTS) && defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX)
275+
struct passwd pwstruc;
275276
long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
276277
char *pwbuf;
277278

0 commit comments

Comments
 (0)