mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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
This commit is contained in:
parent
2160e0e2bd
commit
70ba84ee12
3 changed files with 3 additions and 3 deletions
|
@ -28,8 +28,8 @@
|
|||
#include <gst/video/gstvideopool.h>
|
||||
#include <gst/video/gstvideodecoder.h>
|
||||
#include <string.h>
|
||||
#include <schroedinger/schro.h>
|
||||
#include <math.h>
|
||||
#include <schroedinger/schro.h>
|
||||
#include "gstschroutils.h"
|
||||
|
||||
#include <schroedinger/schroparse.h>
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
#include <gst/video/gstvideoutils.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <schroedinger/schro.h>
|
||||
#include <schroedinger/schrobitstream.h>
|
||||
#include <schroedinger/schrovirtframe.h>
|
||||
#include <math.h>
|
||||
#include "gstschroutils.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (schro_debug);
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include "gstschroutils.h"
|
||||
|
||||
//#define SCHRO_ENABLE_UNSTABLE_API
|
||||
|
@ -30,7 +31,6 @@
|
|||
#include <schroedinger/schro.h>
|
||||
#include <schroedinger/schrobitstream.h>
|
||||
#include <schroedinger/schrovirtframe.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (schro_debug);
|
||||
|
|
Loading…
Reference in a new issue