Index: /trunk/src/kmk/dir.c
===================================================================
--- /trunk/src/kmk/dir.c	(revision 3026)
+++ /trunk/src/kmk/dir.c	(revision 3027)
@@ -1487,5 +1487,5 @@
   gl->gl_lstat = local_stat;
 #endif
-#if defined(KMK) && !defined(__OS2__)
+#ifdef GLOB_WITH_EXTENDED_KMK_MEMBERS
   gl->gl_exists = file_exists_p;
   gl->gl_isdir = dir_exists_p;
Index: /trunk/src/kmk/glob/glob.h
===================================================================
--- /trunk/src/kmk/glob/glob.h	(revision 3026)
+++ /trunk/src/kmk/glob/glob.h	(revision 3027)
@@ -138,4 +138,5 @@
 #endif
 #ifdef KMK
+# define GLOB_WITH_EXTENDED_KMK_MEMBERS
     int (*gl_exists) __PMT ((__const char *));
     int (*gl_isdir) __PMT ((__const char *));
