Fix some of the things that break compilation on Windows.
[openafs.git] / src / util / readdir_nt.c
index 19eb84e..2a2ef59 100644 (file)
  * closedir
  * readdir
  */
+#include <afsconfig.h>
 #include <afs/param.h>
+
+RCSID("$Header$");
+
 #include <errno.h>
 #include <afs/errmap_nt.h>
 #include <windows.h>
@@ -28,7 +32,7 @@
 /* opendir() - The case insensitive version of opendir */
 DIR *opendir(const char *path)
 {
-    struct DIR *tDir;
+    DIR *tDir;
     HANDLE tH;
     char tPath[MAX_PATH];
     WIN32_FIND_DATA tData;