intfloat_readwrite: include "mathematics.h" for fallback macros
authorMans Rullgard <mans@mansr.com>
Tue, 25 Jan 2011 03:33:43 +0000 (03:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Jan 2011 02:43:31 +0000 (03:43 +0100)
This allows this file to build on systems lacking NAN or INFINITY
in math.h.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e781c4e6ff0b93db1ebc0ebe6983b38490117a98)

libavutil/intfloat_readwrite.c

index d9b3752..f51d8dd 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include <stdint.h>
-#include <math.h>
+#include "mathematics.h"
 #include "intfloat_readwrite.h"
 
 double av_int2dbl(int64_t v){