Commit 50bc8a28 authored by Rex Dieter's avatar Rex Dieter
Browse files

fix building with gcc6

Turns out gcc6's cmath now only defines it's own overloads, and
no longer implicitly includes math.h
parent 88b12a31
......@@ -23,6 +23,7 @@
*/
#include "sunriseset.h"
#include <math.h>
#include <cmath>
static const double PI = 3.14159265358979323846;
static const double MaxLat = 89.99;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment