From a276fd45b80d83b5daac61b08c63d35412a8c062 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 12 Aug 2016 21:04:03 +0530 Subject: [PATCH] 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. --- gst-libs/gst/fft/kiss_fft_s16.h | 10 ++++++++-- gst-libs/gst/fft/kiss_fft_s32.h | 11 ++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) 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 { -- 2.7.4