I updated all of 
 
    ftp://www.tug.org/private/texk7.2drivers/ 
 
A small patch for tex4htk. It won’t compile on systems without 
<dirent.h>, therefore I copied this from gsftopk. I don’t know how to 
handle the MSVC_1_52_DOS correctly. 
 
 
 
 
 
--- tex4ht.c.ORIG       Wed Mar 18 11:07:26 1998 
+++ tex4ht.c    Wed Mar 18 11:17:39 1998 
@@ -146,7 +146,21 @@ 
 
 
 #ifndef MSVC_1_52_DOS 
-#include  <dirent.h> 
+#ifdef HAVE_DIRENT_H 
+#include <dirent.h> 
+typedef        struct dirent   struct_dirent; 
+#else /* no <dirent.h> */ 
+typedef        struct direct   struct_dirent; 
+#ifdef HAVE_SYS_NDIR_H 
+#include <sys/ndir.h> 
+#endif 
+#ifdef HAVE_SYS_DIR_H 
+#include <sys/dir.h> 
+#endif 
+#ifdef HAVE_NDIR_H 
+#include <ndir.h> 
+#endif 
+#endif /* no <dirent.h> */ 
 
 #endif 
 
@@ -2598,7 +2612,7 @@ 
 #ifndef NOSUBDIR 
 
 {      DIR             *dp; 
-       struct dirent   *dirp; 
+       struct_dirent   *dirp; 
        struct STSTAT     buf; 
   if( (dp = opendir( str )) != NULL ){ 
     while( (dirp = readdir(dp)) != NULL ){