X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fdirent.c;h=55a9f3d80b5c7b88befc104e38e70768291f1c61;hb=aeea139423b8eaf28a4de53b3d7b2ad1f22284e7;hp=87b2b2afb73453e4a892ec2f99b1f2edcc83a5e1;hpb=6a0f9234f945bc4956e2bcef75f715661a9eba9a;p=idzebra-moved-to-github.git diff --git a/util/dirent.c b/util/dirent.c index 87b2b2a..55a9f3d 100644 --- a/util/dirent.c +++ b/util/dirent.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 Index Data + Copyright (C) 1994-2011 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)