jargrep.c: Include xregex.h from libiberty instead of system regex.h for better porta...
authorRanjit Mathew <rmathew@hotmail.com>
Tue, 28 Jan 2003 22:25:47 +0000 (22:25 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 28 Jan 2003 22:25:47 +0000 (22:25 +0000)
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: r62035

fastjar/ChangeLog
fastjar/jargrep.c

index a924b7178234777ead8b07e5459276d074ad9cda..664710efbcbf526d3a47de9461a0ffcf6ba825e3 100644 (file)
@@ -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
index 01c04500c5bf332204bcd91c9f506e1742be6e71..f879aee4e4625876f27f2afd13de09a0c017f699 100644 (file)
@@ -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"