diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-08-12 21:41:39 +0530 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-08-19 13:03:29 +0100 |
commit | 5ae5b2d3c7c5563b54c190030917c9d9d2772265 (patch) | |
tree | 883c3d74b0d4d934cc8cca6a89857d90093d57b5 /ext | |
parent | bb5a13e8482dae907c3e2c85919bde7647b508bb (diff) |
plugins: Use <stdint.h> 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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/a52dec/gsta52dec.c | 5 | ||||
-rw-r--r-- | ext/dvdread/dvdreadsrc.c | 5 | ||||
-rw-r--r-- | ext/x264/gstx264enc.h | 6 |
3 files changed, 11 insertions, 5 deletions
diff --git a/ext/a52dec/gsta52dec.c b/ext/a52dec/gsta52dec.c index a7b970c3..eabf152a 100644 --- a/ext/a52dec/gsta52dec.c +++ b/ext/a52dec/gsta52dec.c @@ -38,9 +38,10 @@ #endif #include <string.h> - #include <stdlib.h> -#include "_stdint.h" +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #include <gst/gst.h> diff --git a/ext/dvdread/dvdreadsrc.c b/ext/dvdread/dvdreadsrc.c index eed2df5c..5df26372 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 <stdint.h> +#endif #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <string.h> #include <errno.h> diff --git a/ext/x264/gstx264enc.h b/ext/x264/gstx264enc.h index d1135d92..25ac897f 100644 --- a/ext/x264/gstx264enc.h +++ b/ext/x264/gstx264enc.h @@ -24,7 +24,11 @@ #include <gst/gst.h> #include <gst/video/video.h> #include <gst/video/gstvideoencoder.h> -#include "_stdint.h" + +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif + #include <x264.h> G_BEGIN_DECLS |