Skip to content

Commit a0f40d9

Browse files
authored
Include math.h where necessary. (#25122)
1 parent 575abc4 commit a0f40d9

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

keyboards/rubi/lib/calc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This is the modified version of [calculator by MWWorks](https://github.com/MWWor
1313
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
1414
1515
*/
16+
#include <math.h>
1617
#include "rubi.h"
1718

1819
static uint8_t calc_current_operand = 0;

keyboards/terrazzo/terrazzo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1515
*/
1616

17+
#include <math.h>
1718
#include "terrazzo.h"
1819

1920
#ifdef LED_MATRIX_ENABLE

0 commit comments

Comments
 (0)