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.
This commit is contained in:
Nirbheek Chauhan 2016-08-12 21:41:39 +05:30 committed by Tim-Philipp Müller
parent bb5a13e848
commit 5ae5b2d3c7
5 changed files with 19 additions and 7 deletions

View file

@ -38,9 +38,10 @@
#endif #endif
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "_stdint.h" #ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <gst/gst.h> #include <gst/gst.h>

View file

@ -23,11 +23,12 @@
#include "config.h" #include "config.h"
#endif #endif
#include "_stdint.h" #ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h>
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>

View file

@ -24,7 +24,11 @@
#include <gst/gst.h> #include <gst/gst.h>
#include <gst/video/video.h> #include <gst/video/video.h>
#include <gst/video/gstvideoencoder.h> #include <gst/video/gstvideoencoder.h>
#include "_stdint.h"
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <x264.h> #include <x264.h>
G_BEGIN_DECLS G_BEGIN_DECLS

View file

@ -22,7 +22,10 @@
#include "config.h" #include "config.h"
#endif #endif
#include "_stdint.h" #ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <string.h> #include <string.h>
#include <gst/gst.h> #include <gst/gst.h>

View file

@ -28,8 +28,11 @@
#include "config.h" #include "config.h"
#endif #endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include "_stdint.h"
#include <string.h> #include <string.h>
#include <gst/rtsp/gstrtspextension.h> #include <gst/rtsp/gstrtspextension.h>