2003-01-27 20:39:31 +00:00
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#ifdef PHP_WIN32
|
2003-01-28 00:42:54 +00:00
|
|
|
#include "config.w32.h"
|
2003-01-27 20:39:31 +00:00
|
|
|
#include "win32/readdir.h"
|
2003-01-28 00:42:54 +00:00
|
|
|
#else
|
|
|
|
#include "php_config.h"
|
2003-01-27 20:39:31 +00:00
|
|
|
#endif
|
|
|
|
|
2003-02-02 23:09:24 +00:00
|
|
|
#ifdef HAVE_DIRENT_H
|
|
|
|
# include <dirent.h>
|
|
|
|
#endif
|
|
|
|
|
2003-01-27 20:39:31 +00:00
|
|
|
#ifndef HAVE_ALPHASORT
|
|
|
|
int alphasort(const struct dirent **a, const struct dirent **b);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_SCANDIR
|
|
|
|
int scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b));
|
|
|
|
#endif
|