# HG changeset patch # User Sam Lantinga # Date 1253532654 0 # Node ID 6637846f3f7f653b7bd4a51ebef75298af6ec1e3 # Parent 63fd67e177054b3544f6d64f94b3f597fe8764d3 Whoops, need both the header and the library! diff -r 63fd67e17705 -r 6637846f3f7f include/SDL_stdinc.h --- a/include/SDL_stdinc.h Mon Sep 21 11:14:36 2009 +0000 +++ b/include/SDL_stdinc.h Mon Sep 21 11:30:54 2009 +0000 @@ -70,7 +70,7 @@ #ifdef HAVE_CTYPE_H # include #endif -#ifdef HAVE_ICONV_H +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) # include #endif @@ -583,7 +583,7 @@ #define SDL_ICONV_EINVAL (size_t)-4 /*@}*/ -#ifdef HAVE_ICONV_H +#if defined(HAVE_ICONV) && defined(HAVE_ICONV_H) #define SDL_iconv_t iconv_t #define SDL_iconv_open iconv_open #define SDL_iconv_close iconv_close