changeset 722:f8be7fd6ff86

[!WITH_REGEX]: Include rx.h. From Andreas Schwab.
author Jim Meyering <jim@meyering.net>
date Wed, 09 Oct 1996 11:55:22 +0000
parents 093eed3c9408
children ccf967f58933
files lib/rpmatch.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/rpmatch.c
+++ b/lib/rpmatch.c
@@ -30,7 +30,11 @@
 #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>