DLR's cumulative patch, one minor configure.ac tweak


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1484 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/proto.h b/proto.h
index b8149fd..bc9015a 100644
--- a/proto.h
+++ b/proto.h
@@ -391,6 +391,10 @@
 #endif
 
 /* Public functions in utils.c */
+#ifdef BROKEN_REGEXEC
+int regexec_safe(const regex_t *preg, const char *string, size_t nmatch,
+	regmatch_t pmatch[], int eflags);
+#endif
 int is_cntrl_char(int c);
 int num_of_digits(int n);
 void align(char **strp);