*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version. Important limitations are
* listed in the COPYING file that accompanies this software.
*
#include "saxdb.h"
#include "timeq.h"
-#ifdef HAVE_TGMATH_H
-#include <tgmath.h>
+#ifndef HAVE_MATH_H
+ #include <math.h>
+ #include <complex.h>
#else
-#include <math.h>
-#include <complex.h>
+ #include <tgmath.h>
#endif
#include <ctype.h>