From 9329f84c432705479ad0fe3b54d16c4313ea7987 Mon Sep 17 00:00:00 2001 From: darkstar Date: Sat, 24 Mar 2018 23:11:41 +0100 Subject: [PATCH] ReSID: include math.h before trying to define M_FOO constants This fixes a warning later, when the platform math.h gets included and unconditionally tries to (re-)define the M_FOO constants. --- src/sound/resid-fp/siddefs-fp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sound/resid-fp/siddefs-fp.h b/src/sound/resid-fp/siddefs-fp.h index 1f3f727..1d580dd 100644 --- a/src/sound/resid-fp/siddefs-fp.h +++ b/src/sound/resid-fp/siddefs-fp.h @@ -20,6 +20,8 @@ #ifndef __SIDDEFS_FP_H__ #define __SIDDEFS_FP_H__ +#include + #ifndef M_PI #define M_PI 3.14159265358979323846 #define M_PI_f 3.14159265358979323846f