[Patch]: fix bfd/targets.c build failure on AIX

Tristan Gingold gingold@adacore.com
Tue Nov 17 10:07:00 GMT 2009


Hi,

as targets.c uses alloca(), "alloca-conf.h" must be included.
This patch fixes a build failure on AIX 5.2

Ok to commit ?

Tristan.

bfd/
2009-11-17  Tristan Gingold  <gingold@adacore.com>

	* targets.c: Include alloc-conf.h

*** targets.c	16 Nov 2009 11:11:11 -0000	1.180
--- targets.c	17 Nov 2009 10:06:17 -0000
***************
*** 25,30 ****
--- 25,31 ----
  #include "bfd.h"
  #include "libbfd.h"
  #include "fnmatch.h"
+ #include "alloca-conf.h"
  
  /*
     It's okay to see some:



More information about the Binutils mailing list