diff --git a/sc2/src/sc2code/libs/uio/doc/todo b/sc2/src/sc2code/libs/uio/doc/todo index 633453fbe..388d9c919 100644 --- a/sc2/src/sc2code/libs/uio/doc/todo +++ b/sc2/src/sc2code/libs/uio/doc/todo @@ -1,6 +1,6 @@ Needed before use in UQM: - documentation -- configuring for HAVE_REGEX and GLOB +- configuring for GLOB - when doing uio_getStdioPhysical(), if write access is required, but not available on the original location, also copy the file to the temporary dir. @@ -122,3 +122,4 @@ Cleanups (not necessary for UQM): - Clean up the include structure + diff --git a/sc2/src/sc2code/libs/uio/match.h b/sc2/src/sc2code/libs/uio/match.h index ec5941056..2cafc1b8d 100644 --- a/sc2/src/sc2code/libs/uio/match.h +++ b/sc2/src/sc2code/libs/uio/match.h @@ -52,11 +52,6 @@ typedef int match_Result; #define match_ECUSTOM -3 #define match_ENOTINIT -4 -#include -#ifdef HAVE_REGEX -# include -#endif - typedef struct match_LitteralContext match_LitteralContext; typedef struct match_PrefixContext match_PrefixContext; typedef struct match_SuffixContext match_SuffixContext; @@ -80,6 +75,11 @@ void match_freeContext(match_MatchContext *context); /* *** Internal definitions follow *** */ #ifdef uio_INTERNAL +#include +#ifdef HAVE_REGEX +# include +#endif + #include "uioport.h" struct match_MatchContext {