Browse Source

Fix build

#Thanks Andy
experimental/5.2-WITH_DRCP
Hannes Magnusson 20 years ago
parent
commit
6b7144d0b8
  1. 1
      main/fopen_wrappers.c

1
main/fopen_wrappers.c

@ -272,6 +272,7 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC)
char user[32]; /* to try open the directory */
struct passwd *pw;
#if defined(ZTS) && defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX)
struct passwd pwstruc;
long pwbuflen = sysconf(_SC_GETPW_R_SIZE_MAX);
char *pwbuf;

Loading…
Cancel
Save