Commit ec01b026f45bf8b8961c1d5af1f32e5e01658974

Authored by Jürgen Knödlseder
1 parent 4e9565bd

Add missing #include <cstdlib> (needed for malloc and free)

Showing 1 changed file with 2 additions and 8 deletions
src/fits/GFitsHDU.cpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GFitsHDU.cpp - FITS HDU handling class * 2 * GFitsHDU.cpp - FITS HDU handling class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2008-2013 by Juergen Knoedlseder * 4 + * copyright (C) 2008-2014 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -29,6 +29,7 @@ @@ -29,6 +29,7 @@
29 #include <config.h> 29 #include <config.h>
30 #endif 30 #endif
31 #include <iostream> 31 #include <iostream>
  32 +#include <cstdlib>
32 #include "GException.hpp" 33 #include "GException.hpp"
33 #include "GTools.hpp" 34 #include "GTools.hpp"
34 #include "GFitsCfitsio.hpp" 35 #include "GFitsCfitsio.hpp"
@@ -511,10 +512,3 @@ void GFitsHDU::free_members(void) @@ -511,10 +512,3 @@ void GFitsHDU::free_members(void)
511 // Return 512 // Return
512 return; 513 return;
513 } 514 }
514 -  
515 -  
516 -/*==========================================================================  
517 - = =  
518 - = Friends =  
519 - = =  
520 - ==========================================================================*/