1
0
Fork 0

Ganael Laplanche: fix include dependencies for FreeBSD support

This commit is contained in:
ThorstenB 2012-05-05 01:08:20 +02:00
parent e59fabaf82
commit b9260f543b
19 changed files with 25 additions and 1 deletions

View file

@ -22,6 +22,7 @@
# include <config.h>
#endif
#include <cstdlib>
#include "AIFlightPlan.hxx"
#include <simgear/math/sg_geodesy.hxx>

View file

@ -22,6 +22,8 @@
# include <config.h>
#endif
#include <cstdlib>
#include <simgear/math/sg_geodesy.hxx>
#include <Airports/simple.hxx>

View file

@ -23,6 +23,7 @@
#endif
#include <sstream>
#include <cstdlib>
#include <simgear/math/SGMath.hxx>
#include <simgear/constants.h>

View file

@ -26,6 +26,7 @@
#endif
#include <math.h>
#include <cstdlib>
#include <cstring>
#include <simgear/compiler.h>

View file

@ -18,8 +18,11 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
#include <cstdlib>
#include "inputvalue.hxx"
#include <Main/fg_props.hxx>
using namespace FGXMLAutopilot;
PeriodicalValue::PeriodicalValue( SGPropertyNode_ptr root )

View file

@ -3,6 +3,8 @@
# include "config.h"
#endif
#include <cstdlib>
#include <simgear/debug/logstream.hxx>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/misc/sg_path.hxx>

View file

@ -1032,7 +1032,7 @@ void KLN89::DrawApt(int x, int y) {
++j;
for(i=x-2; i<=x+2; ++i) _instrument->DrawPixel(i, j, (i != x ? true : false));
++j;
for(i=x-2; i<=x+2; ++i) _instrument->DrawPixel(i, j, (abs(i - x) > 1 ? true : false));
for(i=x-2; i<=x+2; ++i) _instrument->DrawPixel(i, j, (std::abs(i - x) > 1 ? true : false));
++j;
for(i=x-2; i<=x+2; ++i) _instrument->DrawPixel(i, j, (i != x ? true : false));
++j;

View file

@ -25,6 +25,8 @@
# include "config.h"
#endif
#include <cstdlib>
#include <Main/fg_props.hxx>
#include "kln89_page_cal.hxx"

View file

@ -25,6 +25,8 @@
# include "config.h"
#endif
#include <cstdlib>
#include "kln89_page_nav.hxx"
#include <Main/fg_props.hxx>

View file

@ -39,6 +39,7 @@
#include <fstream>
#include <iostream>
#include <cstdlib>
using namespace std;

View file

@ -31,6 +31,7 @@
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
# include <stdlib.h>
# include <unistd.h>
# include <istream>
#endif

View file

@ -31,6 +31,7 @@
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
# include <stdlib.h>
# include <unistd.h>
# include <ostream>
#endif

View file

@ -25,6 +25,7 @@
# include "config.h"
#endif
#include <cstdlib>
#include <cstring>
#include <simgear/debug/logstream.hxx>

View file

@ -29,6 +29,7 @@
# include "config.h"
#endif
#include <cstdlib>
#include <cstring>
#include <simgear/debug/logstream.hxx>

View file

@ -24,6 +24,7 @@
# include "config.h"
#endif
#include <cstdlib>
#include <cstring>
#include <simgear/debug/logstream.hxx>

View file

@ -25,6 +25,7 @@
#endif
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <simgear/debug/logstream.hxx>

View file

@ -24,6 +24,7 @@
# include "config.h"
#endif
#include <cstdlib>
#include <cstring>
#include <simgear/debug/logstream.hxx>

View file

@ -24,6 +24,7 @@
# include <config.h>
#endif
#include <cstdlib>
#include <cstring>
#include <simgear/structure/exception.hxx>

View file

@ -16,6 +16,7 @@
#include <Main/globals.hxx>
#include <Main/util.hxx>
#include <cstdlib>
#include <iostream>
#include <string>
#include <sstream>