Skip to content

Commit

Permalink
Make sure we have iconv.h before building with it
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 10, 2016
1 parent 367a6a3 commit 6dedbc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/SDL_iconv.c
Expand Up @@ -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,
Expand Down

0 comments on commit 6dedbc4

Please sign in to comment.