diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-03-07 04:00:53 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-03-07 04:00:53 +0000 |
commit | ed173cc96a054d113078d20a29f2a5cc3c269982 (patch) | |
tree | fd51d97178611aa2e8b69107fb1ba65b391d8088 /gcc/fixinc/gnu-regex.c | |
parent | 2077a6c51e0d1727dd870b272d61c83a6753d39c (diff) | |
download | gcc-ed173cc96a054d113078d20a29f2a5cc3c269982.zip gcc-ed173cc96a054d113078d20a29f2a5cc3c269982.tar.gz gcc-ed173cc96a054d113078d20a29f2a5cc3c269982.tar.bz2 |
Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
* fixinc/Makefile.in (FIXINC_DEFS): Add -DHAVE_CONFIG_H.
* fixinc/gnu-regex.c: Don't include auto-host.h since we get
config.h now. Include libiberty.h to handle alloca.
From-SVN: r40283
Diffstat (limited to 'gcc/fixinc/gnu-regex.c')
-rw-r--r-- | gcc/fixinc/gnu-regex.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/fixinc/gnu-regex.c b/gcc/fixinc/gnu-regex.c index a6ebd96..99786e2 100644 --- a/gcc/fixinc/gnu-regex.c +++ b/gcc/fixinc/gnu-regex.c @@ -22,10 +22,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "auto-host.h" -/* GCC LOCAL: we don't need NLS here. */ -#undef ENABLE_NLS - #undef _GNU_SOURCE #define _GNU_SOURCE @@ -33,6 +29,11 @@ # include <config.h> #endif +/* GCC LOCAL: we don't need NLS here. */ +#undef ENABLE_NLS +/* GCC LOCAL: to handle defining alloca. */ +#include "libiberty.h" + /* Do not use a C alloca, we will leak memory and crash. */ #ifdef C_ALLOCA # define REGEX_MALLOC |