Author: Lars Mueller Subject: `regex_t' undeclared; include regex.h if HAVE_REGEX_H is defined Bugzilla: bugzilla.Samba.org #2292 --- samba-3.0.11rc1/source/client/clitar.c +++ samba-3.0.11rc1/source/client/clitar.c 2005-01-31 17:21:55 @@ -38,6 +38,9 @@ #include "includes.h" #include "clitar.h" #include "client/client_proto.h" +#ifdef HAVE_REGEX_H +#include "regex.h" +#endif static int clipfind(char **aret, int ret, char *tok);