aboutsummaryrefslogtreecommitdiff
path: root/fastjar
diff options
context:
space:
mode:
authorRanjit Mathew <rmathew@hotmail.com>2003-01-28 22:25:27 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-01-28 22:25:27 +0000
commit88956972f4fcc45eb81b39804d4c3099384790b6 (patch)
treebf154b8792e24181f20f37bb1a6c2dcc2cdcf67e /fastjar
parent318323144c49b1827fdd9fdb9e77e6dd3573988c (diff)
jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability.
2003-01-28 Ranjit Mathew <rmathew@hotmail.com> * jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability. From-SVN: r62034
Diffstat (limited to 'fastjar')
-rw-r--r--fastjar/ChangeLog5
-rw-r--r--fastjar/jargrep.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/fastjar/ChangeLog b/fastjar/ChangeLog
index 9a15f69dbdd..02b0d913366 100644
--- a/fastjar/ChangeLog
+++ b/fastjar/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
+
+ * jargrep.c: Include xregex.h from libiberty instead of
+ system regex.h for better portability.
+
2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
* jartool.c (list_jar): Terminate the 'ascii_date' buffer
diff --git a/fastjar/jargrep.c b/fastjar/jargrep.c
index 1a9ee91be5d..9e0e4914ed9 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 <stdio.h>
#include <unistd.h>
-#include <regex.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
@@ -115,6 +114,9 @@ will test some other platforms later.
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
+
+#include "xregex.h"
+
#include "jargrep.h"
#include "jartool.h"
#include "pushback.h"