This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Minor fix to locale-inst.cc



Some system (ie hpux) need to include stuff from stdlib.h to properly
compile locale-inst.cc.

This patch arranges to include stdlib.h indirectly via bits/std_cstdlib.h.

This has been bootstrapped on hpux11.  hpux10 testing is in progress and
is expected to complete shortly.

	* src/locale-inst.cc: Include <bits/std_cstdlib.h>

Index: locale-inst.cc
===================================================================
RCS file: /cvs/cvsfiles/devo/libstdc++-v3/src/locale-inst.cc,v
retrieving revision 1.9.12.1
diff -c -3 -p -r1.9.12.1 locale-inst.cc
*** locale-inst.cc	2001/12/20 22:19:57	1.9.12.1
--- locale-inst.cc	2001/12/22 00:34:45
***************
*** 31,36 ****
--- 31,37 ----
  // ISO C++ 14882: 22.1  Locales
  //
  
+ #include <bits/std_cstdlib.h>
  #include <bits/std_clocale.h>
  #include <bits/std_cstring.h>
  #include <bits/std_cassert.h>





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]