diff --git a/ext/cairo/gsttimeoverlay.c b/ext/cairo/gsttimeoverlay.c index 18f18f8fe5..b731c37894 100644 --- a/ext/cairo/gsttimeoverlay.c +++ b/ext/cairo/gsttimeoverlay.c @@ -36,19 +36,16 @@ #include "config.h" #endif +#include + #include #include -#include #include #include -#ifndef HAVE_RINT -#define rint(x) ((double) floor((x)+(((x) < 0)? -0.5 : 0.5))) -#endif - static GstStaticPadTemplate gst_cairo_time_overlay_src_template = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c index 136acaea33..968e2596c2 100644 --- a/gst/videofilter/gstvideobalance.c +++ b/gst/videofilter/gstvideobalance.c @@ -44,17 +44,14 @@ #include "config.h" #endif +#include + #include "gstvideobalance.h" #include -#include #include #include -#ifndef HAVE_RINT -#define rint(x) (floor((x)+0.5)) -#endif - GST_DEBUG_CATEGORY_STATIC (videobalance_debug); #define GST_CAT_DEFAULT videobalance_debug