diff options
author | Sascha Schumann <sas@php.net> | 2000-10-11 14:35:45 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-10-11 14:35:45 +0000 |
commit | 23a96536fa878b3afe0380b917c2dff9ad2825bb (patch) | |
tree | 7ec8e08d93ad4c9ebb8608829236f443e0012b6d /acinclude.m4 | |
parent | f2ddc10685ed644f1958ee73c7dade081f896055 (diff) | |
download | php-git-23a96536fa878b3afe0380b917c2dff9ad2825bb.tar.gz |
Fix the readdir_r POSIX check
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 3787964965..05a440812b 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -59,7 +59,7 @@ main() { dir = opendir("/"); if (!dir) exit(1); - if (readdir_r(dir, &entry, &pentry) == 0) + if (readdir_r(dir, (struct dirent *) entry, &pentry) == 0) exit(0); exit(1); } |