commit | 3c7f0c51df3b1276dfa95e7a055ccfcbc2e6874f | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Mon Oct 10 02:58:12 2016 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Mon Oct 10 02:58:12 2016 -0700 |
tree | 8ca5a3b2e7ee85616d5448ea8c2912beb4fd491a | |
parent | 19f3a4da19fbdf11f6db184500ae99c8e1dda411 [diff] |
Make sure we have iconv.h before building with it
diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index a5fc1ec..34bcd84 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 <iconv.h> /* Depending on which standard the iconv() was implemented with,