shithub: pt2-clone

Download patch

ref: 462b3d46f1cb6d0e26539d4f8d5de7a85afeb430
parent: 949671fbac526e9c6ed31b12cbc19ca24c8e3887
author: Olav Sørensen <olav.sorensen@live.no>
date: Tue Jun 6 09:32:02 EDT 2023

Minor stuff

--- a/src/pt2_chordmaker.c
+++ b/src/pt2_chordmaker.c
@@ -6,6 +6,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <math.h>
 #include "pt2_config.h"
 #include "pt2_textout.h"
 #include "pt2_visuals.h"
--- a/src/pt2_math.c
+++ b/src/pt2_math.c
@@ -3,7 +3,7 @@
 */
 
 #include <stdint.h>
-#include <math.h>
+#include <math.h> // fmod()
 #include "pt2_math.h"
 
 static const double pi = PT2_PI;