summaryrefslogtreecommitdiff
blob: b4ed88a2dd2804346952270d9de2e1771d811c52 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/libgmlib/gm_audio.c
+++ src/libgmlib/gm_audio.c
@@ -24,6 +24,8 @@
 
 #include "gm_audio.h"
 
+#include <math.h> /* floor */
+
 #ifdef HAVE_ASOUNDLIB
 #include <asoundlib.h>
 #endif