X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fdirent.c;h=189615b26e64f3c91c8cf038daa0a342c866c74d;hb=739e721ee59f645cb821c8d3035a12aefae423f6;hp=2897e8487577b23e3f7ccae896b8cceca63a79cb;hpb=a030c87bc444608639905eca95e29f84a4f1d991;p=idzebra-moved-to-github.git diff --git a/util/dirent.c b/util/dirent.c index 2897e84..189615b 100644 --- a/util/dirent.c +++ b/util/dirent.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2011 Index Data + Copyright (C) 2004-2013 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -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)