From 5ae5b2d3c7c5563b54c190030917c9d9d2772265 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 12 Aug 2016 21:41:39 +0530 Subject: [PATCH] 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. --- ext/a52dec/gsta52dec.c | 5 +++-- ext/dvdread/dvdreadsrc.c | 5 +++-- ext/x264/gstx264enc.h | 6 +++++- gst/realmedia/realhash.c | 5 ++++- gst/realmedia/rtspreal.c | 5 ++++- 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c index a7b970c376..eabf152a17 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 eed2df5c7d..5df263722f 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 d1135d926f..25ac897f70 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 294f204964..97b1390fb3 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 b7b33835d2..f3460a19d7 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