summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-10-09 11:55:22 +0000
committerJim Meyering <jim@meyering.net>1996-10-09 11:55:22 +0000
commit484ac23010d50251c32210aeed48eda2ef4bece7 (patch)
tree625d498ec1470f89cee39ebe6c79a59ba5bb5c58
parentd23752b96ed3f759a84cc02e6438334cbd1c722f (diff)
downloadgnulib-484ac23010d50251c32210aeed48eda2ef4bece7.tar.gz
[!WITH_REGEX]: Include rx.h.
From Andreas Schwab.
-rw-r--r--lib/rpmatch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c
index 65674b6ab3..868f714a13 100644
--- a/lib/rpmatch.c
+++ b/lib/rpmatch.c
@@ -30,7 +30,11 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#endif
#include <sys/types.h>
-#include <regex.h>
+#ifdef WITH_REGEX
+# include <regex.h>
+#else
+# include <rx.h>
+#endif
#if ENABLE_NLS
# include <libintl.h>