From: Nirbheek Chauhan Date: Fri, 12 Aug 2016 15:34:03 +0000 (+0530) Subject: gstfft: Use stdint.h instead of _stdint.h X-Git-Tag: 1.19.3~511^2~2710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a276fd45b80d83b5daac61b08c63d35412a8c062;p=platform%2Fupstream%2Fgstreamer.git gstfft: Use stdint.h instead of _stdint.h _stdint.h is generated by Autotools and we don't really need it. stdint.h is now available on all supported platforms. This really only makes a difference for MSVC, which has it starting from Visual Studio 2015. --- diff --git a/gst-libs/gst/fft/kiss_fft_s16.h b/gst-libs/gst/fft/kiss_fft_s16.h index 4303127..7dd40a2 100644 --- a/gst-libs/gst/fft/kiss_fft_s16.h +++ b/gst-libs/gst/fft/kiss_fft_s16.h @@ -1,6 +1,14 @@ #ifndef KISS_FFT_S16_H #define KISS_FFT_S16_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_STDINT_H +#include +#endif + #include #include #include @@ -26,8 +34,6 @@ extern "C" { #define KISS_FFT_S16_MALLOC g_malloc -#include "_stdint.h" - #define kiss_fft_s16_scalar int16_t typedef struct { diff --git a/gst-libs/gst/fft/kiss_fft_s32.h b/gst-libs/gst/fft/kiss_fft_s32.h index 8edd664..ad2f2b0 100644 --- a/gst-libs/gst/fft/kiss_fft_s32.h +++ b/gst-libs/gst/fft/kiss_fft_s32.h @@ -1,6 +1,14 @@ #ifndef KISS_FFT_S32_H #define KISS_FFT_S32_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef HAVE_STDINT_H +#include +#endif + #include #include #include @@ -26,9 +34,6 @@ extern "C" { #define KISS_FFT_S32_MALLOC g_malloc - -#include "_stdint.h" - #define kiss_fft_s32_scalar int32_t typedef struct {