summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/tablegen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/tablegen.h b/libavutil/tablegen.h
index f81b46b7dc..02acdd61e8 100644
--- a/libavutil/tablegen.h
+++ b/libavutil/tablegen.h
@@ -24,6 +24,8 @@
#ifndef AVUTIL_TABLEGEN_H
#define AVUTIL_TABLEGEN_H
+#include <math.h>
+
// we lack some functions on all host platforms, and we don't care about
// performance and/or strict ISO C semantics as it's performed at build time
static inline double ff_cbrt(double x)