diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index a5fc1ec03..34bcd8431 100644 --- a/src/stdlib/SDL_iconv.c +++ b/src/stdlib/SDL_iconv.c @@ -30,7 +30,7 @@ #include "SDL_stdinc.h" #include "SDL_endian.h" -#ifdef HAVE_ICONV +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) #include /* Depending on which standard the iconv() was implemented with,