shithub: choc

Download patch

ref: eac0daf8349d613784fa1a27bc23ff8d21a78a6a
parent: 7343f9537890f37594de6ac8a1de74b601362392
author: Turo Lamminen <[email protected]>
date: Fri Oct 7 08:53:13 EDT 2022

Add missing includes in i_winmusic.c

--- a/src/i_winmusic.c
+++ b/src/i_winmusic.c
@@ -19,6 +19,7 @@
 
 #include <windows.h>
 #include <mmsystem.h>
+#include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -25,6 +26,9 @@
 #include "doomtype.h"
 #include "m_misc.h"
 #include "midifile.h"
+#include "i_sound.h"
+#include "i_winmusic.h"
+
 
 #define BETWEEN(l,u,x) (((l)>(x))?(l):((x)>(u))?(u):(x))