--- a/src/kmk/dir.c 2013-12-06 18:40:31.882478000 +0100 +++ b/src/kmk/dir.c 2014-01-17 10:09:40.546258127 +0100 @@ -1310,7 +1310,11 @@ /* Hooks for globbing. */ +#ifdef KMK +#include "glob/glob.h" +#else #include +#endif /* Structure describing state of iterating through a directory hash table. */