mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
bb5a13e848
commit
5ae5b2d3c7
5 changed files with 19 additions and 7 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -22,7 +22,10 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "_stdint.h"
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
|
|
@ -28,8 +28,11 @@
|
|||
#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>
|
||||
|
|
Loading…
Reference in a new issue