Fix unix builds that need the included regex.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1666 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-04-22 00:57:21 +00:00
parent 6308461cf3
commit b2e3378b99
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -1,6 +1,6 @@
Needed before use in UQM: Needed before use in UQM:
- documentation - documentation
- configuring for HAVE_REGEX and GLOB - configuring for GLOB
- when doing uio_getStdioPhysical(), if write access is required, but - when doing uio_getStdioPhysical(), if write access is required, but
not available on the original location, also copy the file to the not available on the original location, also copy the file to the
temporary dir. temporary dir.
@@ -122,3 +122,4 @@ Cleanups (not necessary for UQM):
- Clean up the include structure - Clean up the include structure
+5 -5
View File
@@ -52,11 +52,6 @@ typedef int match_Result;
#define match_ECUSTOM -3 #define match_ECUSTOM -3
#define match_ENOTINIT -4 #define match_ENOTINIT -4
#include <sys/types.h>
#ifdef HAVE_REGEX
# include <regex.h>
#endif
typedef struct match_LitteralContext match_LitteralContext; typedef struct match_LitteralContext match_LitteralContext;
typedef struct match_PrefixContext match_PrefixContext; typedef struct match_PrefixContext match_PrefixContext;
typedef struct match_SuffixContext match_SuffixContext; typedef struct match_SuffixContext match_SuffixContext;
@@ -80,6 +75,11 @@ void match_freeContext(match_MatchContext *context);
/* *** Internal definitions follow *** */ /* *** Internal definitions follow *** */
#ifdef uio_INTERNAL #ifdef uio_INTERNAL
#include <sys/types.h>
#ifdef HAVE_REGEX
# include <regex.h>
#endif
#include "uioport.h" #include "uioport.h"
struct match_MatchContext { struct match_MatchContext {