Commit 82fc9f4b authored by Martin Storsjö's avatar Martin Storsjö

display: Include mathematics.h for fallback definition of NAN

This fixes compilation with MSVC.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 853cc025
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <math.h> #include <math.h>
#include "display.h" #include "display.h"
#include "mathematics.h"
// fixed point to double // fixed point to double
#define CONV_FP(x) ((double) (x)) / (1 << 16) #define CONV_FP(x) ((double) (x)) / (1 << 16)
......
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