summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-08-18 17:46:19 +0530
committerTim-Philipp Müller <tim@centricular.com>2016-08-19 14:42:52 +0100
commit7e2b68fe2f22b4f12d876aa9385f594244a631b8 (patch)
tree655602562c194d3cff8c3ab7465e631c02ce7f5b /ext
parent950013ff466a5e54d053aac6ea3afb5b428d871c (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/dts/gstdtsdec.c5
-rw-r--r--ext/resindvd/resindvdsrc.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index 095238cd8..70ffbc7a0 100644
--- a/ext/dts/gstdtsdec.c
+++ b/ext/dts/gstdtsdec.c
@@ -38,8 +38,11 @@
#include "config.h"
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
#include <string.h>
-#include "_stdint.h"
#include <stdlib.h>
#include <gst/gst.h>
diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h
index cc2bb049a..b5d8e3603 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -23,7 +23,9 @@
#include <gst/base/gstbasesrc.h>
-#include "_stdint.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#include <dvdnav/dvdnav.h>
#include <dvdread/ifo_read.h>