plugins: Use <stdint.h> instead of _stdint.h
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 12 Aug 2016 16:11:39 +0000 (21:41 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 19 Aug 2016 12:03:29 +0000 (13:03 +0100)
_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
ext/dvdread/dvdreadsrc.c
ext/x264/gstx264enc.h
gst/realmedia/realhash.c
gst/realmedia/rtspreal.c

index a7b970c376308380bcfd478c0f244db40ed68d08..eabf152a17d7c8c7c80bc6ac368e2215c7357aee 100644 (file)
 #endif
 
 #include <string.h>
-
 #include <stdlib.h>
-#include "_stdint.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 
 #include <gst/gst.h>
 
index eed2df5c7d5fcf9cd0c0d0505668eaa9847baaef..5df263722f5539f40a0428b23486b68505620d13 100644 (file)
 #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>
 
index d1135d926f9994857be76d97537c00f0fc10ba02..25ac897f702ac3766c2eda7f40a95932f103ef79 100644 (file)
 #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
index 294f2049640512eddb7bce742ee44c933e79b5c9..97b1390fb30214ce181a62cf6627f011dde08269 100644 (file)
 #include "config.h"
 #endif
 
-#include "_stdint.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <string.h>
 
 #include <gst/gst.h>
index b7b33835d213d1d57c63914663bf2e1b31315e6a..f3460a19d7c9104040ea65b634d62cd689c9ff42 100644 (file)
 #include "config.h"
 #endif
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 #include <stdlib.h>
-#include "_stdint.h"
 #include <string.h>
 
 #include <gst/rtsp/gstrtspextension.h>