From 5bff4babe0a52a5b892e02239eb1b1aa0f735aae Mon Sep 17 00:00:00 2001 From: Ranjit Mathew Date: Tue, 28 Jan 2003 22:25:47 +0000 Subject: [PATCH] jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability. 2003-01-28 Ranjit Mathew * jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability. From-SVN: r62035 --- fastjar/ChangeLog | 5 +++++ fastjar/jargrep.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/fastjar/ChangeLog b/fastjar/ChangeLog index a924b717823..664710efbcb 100644 --- a/fastjar/ChangeLog +++ b/fastjar/ChangeLog @@ -1,3 +1,8 @@ +2003-01-28 Ranjit Mathew + + * jargrep.c: Include xregex.h from libiberty instead of + system regex.h for better portability. + 2003-01-21 Ranjit Mathew * jartool.c (list_jar): Terminate the 'ascii_date' buffer diff --git a/fastjar/jargrep.c b/fastjar/jargrep.c index 01c04500c5b..f879aee4e46 100644 --- a/fastjar/jargrep.c +++ b/fastjar/jargrep.c @@ -1,6 +1,6 @@ /* jargrep.c - main functions for jargrep utility - Copyright (C) 2002 Free Software Foundation + Copyright (C) 2002, 2003 Free Software Foundation Copyright (C) 1999, 2000 Bryan Burns Copyright (C) 2000 Cory Hollingsworth @@ -105,7 +105,6 @@ will test some other platforms later. #include "config.h" #include #include -#include #include #include #include @@ -115,6 +114,9 @@ will test some other platforms later. #ifdef HAVE_STDLIB_H #include #endif + +#include "xregex.h" + #include "jargrep.h" #include "jartool.h" #include "pushback.h"