From: Nirbheek Chauhan Date: Fri, 12 Aug 2016 16:11:39 +0000 (+0530) Subject: plugins: Use instead of _stdint.h X-Git-Tag: 1.19.3~505^2~298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ae5b2d3c7c5563b54c190030917c9d9d2772265;p=platform%2Fupstream%2Fgstreamer.git plugins: Use instead of _stdint.h _stdint.h is generated by Autotools and we don't really need it. All supported platforms now ship with stdint.h. The only stickler was MSVC, and since Visual Studio 2015 it also ships stdint.h now. --- diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c index a7b970c..eabf152 100644 --- a/ext/a52dec/gsta52dec.c +++ b/ext/a52dec/gsta52dec.c @@ -38,9 +38,10 @@ #endif #include - #include -#include "_stdint.h" +#ifdef HAVE_STDINT_H +#include +#endif #include diff --git a/ext/dvdread/dvdreadsrc.c b/ext/dvdread/dvdreadsrc.c index eed2df5..5df2637 100644 --- a/ext/dvdread/dvdreadsrc.c +++ b/ext/dvdread/dvdreadsrc.c @@ -23,11 +23,12 @@ #include "config.h" #endif -#include "_stdint.h" +#ifdef HAVE_STDINT_H +#include +#endif #include #include -#include #include #include diff --git a/ext/x264/gstx264enc.h b/ext/x264/gstx264enc.h index d1135d9..25ac897 100644 --- a/ext/x264/gstx264enc.h +++ b/ext/x264/gstx264enc.h @@ -24,7 +24,11 @@ #include #include #include -#include "_stdint.h" + +#ifdef HAVE_STDINT_H +#include +#endif + #include G_BEGIN_DECLS diff --git a/gst/realmedia/realhash.c b/gst/realmedia/realhash.c index 294f204..97b1390 100644 --- a/gst/realmedia/realhash.c +++ b/gst/realmedia/realhash.c @@ -22,7 +22,10 @@ #include "config.h" #endif -#include "_stdint.h" +#ifdef HAVE_STDINT_H +#include +#endif + #include #include diff --git a/gst/realmedia/rtspreal.c b/gst/realmedia/rtspreal.c index b7b3383..f3460a1 100644 --- a/gst/realmedia/rtspreal.c +++ b/gst/realmedia/rtspreal.c @@ -28,8 +28,11 @@ #include "config.h" #endif +#ifdef HAVE_STDINT_H +#include +#endif + #include -#include "_stdint.h" #include #include