From 2e4130037cf3b64921976fbff4579bda0e91dc87 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Wed, 23 Jan 2013 11:03:49 +0200 Subject: float_dsp: Include config.h for redefining restrict MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes sure that the restrict keyword is mapped to whatever keyword the compiler prefers/supports. This fixes building on MSVC (and possibly on GCC 2.x as well). Signed-off-by: Martin Storsjö --- libavutil/float_dsp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavutil/float_dsp.h') diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h index f2b90a4848..b215dad42f 100644 --- a/libavutil/float_dsp.h +++ b/libavutil/float_dsp.h @@ -19,6 +19,8 @@ #ifndef AVUTIL_FLOAT_DSP_H #define AVUTIL_FLOAT_DSP_H +#include "config.h" + typedef struct AVFloatDSPContext { /** * Calculate the product of two vectors of floats and store the result in -- cgit v1.2.3