diff --git a/simgear/compiler.h b/simgear/compiler.h index 616dd15d..6a9ec5d8 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -154,6 +154,7 @@ inline int (isnan)(double r) { return !(r <= 0 || r >= 0); } #endif #if defined (__FreeBSD__) +#include # if __FreeBSD_version < 500000 extern "C" { inline int isnan(double r) { return !(r <= 0 || r >= 0); }