don't include cstdlib unnecessarily

Mike Stump mrs@apple.com
Fri Feb 11 23:00:00 GMT 2005


On Wednesday, February 9, 2005, at 07:02  PM, Gabriel Dos Reis wrote:
> Yes.  Thanks.

Additional testing shows that the below was also required...  Curious 
enough, other files so the same type of problem, but since I've not 
seen a problem with them, I'll leave them alone.

Doing diffs in .:
--- ./del_op.cc.~1~     2005-02-10 11:14:58.000000000 -0800
+++ ./del_op.cc 2005-02-10 11:17:57.000000000 -0800
@@ -29,10 +29,10 @@
  // the GNU General Public License.

  #include "new"
+#include <bits/c++config.h>
  #if _GLIBCXX_HOSTED
  #include <cstdlib>
  #endif
-#include <bits/c++config.h>

  #if _GLIBCXX_HOSTED
  using std::free;
--------------



More information about the Libstdc++ mailing list