X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fdirent.c;h=55a9f3d80b5c7b88befc104e38e70768291f1c61;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hp=2897e8487577b23e3f7ccae896b8cceca63a79cb;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/util/dirent.c b/util/dirent.c index 2897e84..55a9f3d 100644 --- a/util/dirent.c +++ b/util/dirent.c @@ -19,6 +19,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +#if HAVE_CONFIG_H +#include +#endif #include #include #ifdef WIN32 @@ -49,7 +52,7 @@ DIR *opendir (const char *name) dd->handle = FindFirstFile(fullName, &dd->find_data); return dd; } - + struct dirent *readdir (DIR *dd) { if (dd->handle == INVALID_HANDLE_VALUE)