summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-11 14:35:45 +0000
committerSascha Schumann <sas@php.net>2000-10-11 14:35:45 +0000
commit23a96536fa878b3afe0380b917c2dff9ad2825bb (patch)
tree7ec8e08d93ad4c9ebb8608829236f443e0012b6d /acinclude.m4
parentf2ddc10685ed644f1958ee73c7dade081f896055 (diff)
downloadphp-git-23a96536fa878b3afe0380b917c2dff9ad2825bb.tar.gz
Fix the readdir_r POSIX check
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
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);
}