Make sure we have iconv.h before building with it

This commit is contained in:
Sam Lantinga 2016-10-10 02:58:12 -07:00
parent 367a6a3ddf
commit 6dedbc4309
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#include "SDL_stdinc.h" #include "SDL_stdinc.h"
#include "SDL_endian.h" #include "SDL_endian.h"
#ifdef HAVE_ICONV #if defined(HAVE_ICONV) && defined(HAVE_ICONV_H)
#include <iconv.h> #include <iconv.h>
/* Depending on which standard the iconv() was implemented with, /* Depending on which standard the iconv() was implemented with,