aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rubi/lib/calc.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rubi/lib/calc.c')
-rw-r--r--keyboards/rubi/lib/calc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/rubi/lib/calc.c b/keyboards/rubi/lib/calc.c
index 7796a9be45..b289fdb54b 100644
--- a/keyboards/rubi/lib/calc.c
+++ b/keyboards/rubi/lib/calc.c
@@ -13,6 +13,7 @@ This is the modified version of [calculator by MWWorks](https://github.com/MWWor
Feel free to fix it! I think it needs to detect the precision of the two operands and then figure out what the precision of the result should be
*/
+#include <math.h>
#include "rubi.h"
static uint8_t calc_current_operand = 0;