From 1d01fee980edf60215acd94daf2533a9fefb9342 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 21 Jun 2012 17:59:56 +0200 Subject: 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. --- libavcodec/aacps_tablegen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/aacps_tablegen.h') 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 #include #if CONFIG_HARDCODED_TABLES -- cgit v1.2.3