summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/sys_math.c1
-rw-r--r--src/code/z_lib.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/code/sys_math.c b/src/code/sys_math.c
index 81d54d86a..5418f8021 100644
--- a/src/code/sys_math.c
+++ b/src/code/sys_math.c
@@ -4,6 +4,7 @@
*/
#include "global.h"
+#include "rand.h"
static f32 sFactorialTbl[] = {
1.0f, 1.0f, 2.0f, 6.0f, 24.0f, 120.0f, 720.0f, 5040.0f, 40320.0f, 362880.0f, 3628800.0f, 39916800.0f, 479001600.0f,
diff --git a/src/code/z_lib.c b/src/code/z_lib.c
index e8d95584a..9f93783b5 100644
--- a/src/code/z_lib.c
+++ b/src/code/z_lib.c
@@ -3,6 +3,7 @@
#include "libc64/qrand.h"
+#include "rand.h"
#include "segmented_address.h"
#include "sfx.h"
#include "z64game.h"