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: r62035
This commit is contained in:
Ranjit Mathew 2003-01-28 22:25:47 +00:00 committed by Tom Tromey
parent 65b8e87409
commit 5bff4babe0
2 changed files with 9 additions and 2 deletions

View 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> 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
* jartool.c (list_jar): Terminate the 'ascii_date' buffer * jartool.c (list_jar): Terminate the 'ascii_date' buffer

View File

@ -1,6 +1,6 @@
/* /*
jargrep.c - main functions for jargrep utility 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) 1999, 2000 Bryan Burns
Copyright (C) 2000 Cory Hollingsworth Copyright (C) 2000 Cory Hollingsworth
@ -105,7 +105,6 @@ will test some other platforms later.
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <regex.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
@ -115,6 +114,9 @@ will test some other platforms later.
#ifdef HAVE_STDLIB_H #ifdef HAVE_STDLIB_H
#include <stdlib.h> #include <stdlib.h>
#endif #endif
#include "xregex.h"
#include "jargrep.h" #include "jargrep.h"
#include "jartool.h" #include "jartool.h"
#include "pushback.h" #include "pushback.h"