summaryrefslogtreecommitdiff
path: root/libavcodec/aacps_fixed_tablegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/aacps_fixed_tablegen.h')
-rw-r--r--libavcodec/aacps_fixed_tablegen.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/aacps_fixed_tablegen.h b/libavcodec/aacps_fixed_tablegen.h
index 356fb8b293..8fb1da5076 100644
--- a/libavcodec/aacps_fixed_tablegen.h
+++ b/libavcodec/aacps_fixed_tablegen.h
@@ -36,8 +36,12 @@
#else
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
-#include "libavutil/mem.h"
+#ifdef BUILD_TABLES
+#undef DECLARE_ALIGNED
+#define DECLARE_ALIGNED(align, type, variable) type variable
+#else
#include "libavutil/mem_internal.h"
+#endif
#include "aac_defines.h"
#include "libavutil/softfloat.h"