Add math headers for emscripten

We now check for NaN in table.c and struct.c
as we disallow NaN keys.
This commit is contained in:
Calvin Rose
2019-01-29 18:18:14 -05:00
parent 32c209ede9
commit 46c540b93e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@
#include <janet/janet.h>
#include "gc.h"
#include "util.h"
#include <math.h>
#endif
/* Begin creation of a struct */
+1
View File
@@ -24,6 +24,7 @@
#include <janet/janet.h>
#include "gc.h"
#include "util.h"
#include <math.h>
#endif
/* Initialize a table */