From 3893feeccdf754057fc7c7ac711ae876733f2f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sat, 30 Jun 2012 18:49:33 +0300 Subject: [PATCH] opt/eval: Include mathematics.h for NAN/INFINITY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These files use NAN/INFINITY but didn't include mathematics.h to get the fallback definitions if the system lacks the macros. Signed-off-by: Martin Storsjö --- libavutil/eval.c | 1 + libavutil/opt.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavutil/eval.c b/libavutil/eval.c index 4d8ebf4f6e..36b5ce5dda 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -29,6 +29,7 @@ #include "avutil.h" #include "eval.h" #include "log.h" +#include "mathematics.h" typedef struct Parser { const AVClass *class; diff --git a/libavutil/opt.c b/libavutil/opt.c index 9a3c0d47c7..b1e50f7a59 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -31,6 +31,7 @@ #include "eval.h" #include "dict.h" #include "log.h" +#include "mathematics.h" #if FF_API_FIND_OPT //FIXME order them and do a bin search