In php-4.3.2/ext/session/mod_files.c, among other files, gcc
stops on sizeof(struct dirent) because struct dirent hasn't been
defined yet. If change all <dirent.h> includes to <sys/dirent.h> (which
has the definition for struct dirent), things get much further, but
readdir(3C) says to use <dirent.h>.

        I am not really sure what the most appropriate way to fix this
is. 4.3.1 didn't have this problem and I can't quite pin down the
subtlety that is making it an issue this time. I sort of suspect 64-bit
#define goofiness, maybe related to the 64-bit fixes that were made to
4.3.2.

        Has anyone else run into this?

-- 
   _____________________________________________________________________
  / Brian C. Hill       [EMAIL PROTECTED]       http://brian.bch.net    \
  | Unix Specialist     BCH Technical Services  http://www.bch.net      |

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to