Make sure we have iconv.h before building with it

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_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,