[!WITH_REGEX]: Include rx.h.
authorJim Meyering <jim@meyering.net>
Wed, 9 Oct 1996 11:55:22 +0000 (11:55 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 9 Oct 1996 11:55:22 +0000 (11:55 +0000)
From Andreas Schwab.

lib/rpmatch.c

index 65674b6..868f714 100644 (file)
@@ -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>