summaryrefslogtreecommitdiff
path: root/lib/rpmatch.c
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
commit9de1f7a589a0abb1031736e0eacb6a535788dbad (patch)
tree69eae491363c60e3a78c059ba914bc4c23ce750e /lib/rpmatch.c
parent983e0032e06be8d75f367141aa8ff4deffc5d05e (diff)
downloadcoreutils-9de1f7a589a0abb1031736e0eacb6a535788dbad.tar.xz
[!WITH_REGEX]: Include rx.h.
From Andreas Schwab.
Diffstat (limited to 'lib/rpmatch.c')
-rw-r--r--lib/rpmatch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c
index 65674b6ab..868f714a1 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>