diff --git a/sbc/sbc_math.h b/sbc/sbc_math.h
index 5476860..97de2dd 100644
--- a/sbc/sbc_math.h
+++ b/sbc/sbc_math.h
@@ -23,6 +23,7 @@
  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
+#include <stdint.h>
 
 #define fabs(x) ((x) < 0 ? -(x) : (x))
 /* C does not provide an explicit arithmetic shift right but this will
