schro: #include math.h before schroedinger headers
authorScott D Phillips <scott.d.phillips@intel.com>
Tue, 29 Nov 2016 00:02:03 +0000 (16:02 -0800)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 29 Nov 2016 09:49:05 +0000 (09:49 +0000)
commit70ba84ee1215ca8fc1166f34663f8da8b0adbe7d
tree356624a8457ee352e3fbb2da76ba95c55c284b68
parent2160e0e2bd801c81d79323343396fc156f560c75
schro: #include math.h before schroedinger headers

The schroedinger headers unconditionally #define over C99's rint when
compiling with msvc which messes up the later inclusion of math.h.
Including math.h before schroedinger headers avoids getting syntax
errors in math.h

https://bugzilla.gnome.org/show_bug.cgi?id=775293
ext/schroedinger/gstschrodec.c
ext/schroedinger/gstschroenc.c
ext/schroedinger/gstschroutils.c