From 6dedbc4309087c80b9b61b99d214b78c2631593c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 10 Oct 2016 02:58:12 -0700 Subject: [PATCH] Make sure we have iconv.h before building with it --- src/stdlib/SDL_iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index a5fc1ec03b1d3..34bcd8431726e 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,