diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-06-21 17:59:56 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-06-21 18:05:40 +0200 |
commit | 1d01fee980edf60215acd94daf2533a9fefb9342 (patch) | |
tree | 4ab68c5c9f149e42b604e09779f9deecad0421fa /libavcodec/aacps_tablegen.h | |
parent | 67ffcb9613b7bd35fd37a67a0d2363bd4d564605 (diff) | |
download | ffmpeg-1d01fee980edf60215acd94daf2533a9fefb9342.tar.gz |
fix hardcoded tables compililation caused by missing math constants
Add -D_XOPEN_SOURCE=600 to host cflags to make the constants in math.h
available. Include math.h where necessary and remove redundant M_PI
defines.
Diffstat (limited to 'libavcodec/aacps_tablegen.h')
-rw-r--r-- | libavcodec/aacps_tablegen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aacps_tablegen.h b/libavcodec/aacps_tablegen.h index d71a373858..bd4e695568 100644 --- a/libavcodec/aacps_tablegen.h +++ b/libavcodec/aacps_tablegen.h @@ -23,6 +23,7 @@ #ifndef AACPS_TABLEGEN_H #define AACPS_TABLEGEN_H +#include <math.h> #include <stdint.h> #if CONFIG_HARDCODED_TABLES |