From c55d22676924b4e1850b83dc8e18cbd855774a06 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 25 Mar 2006 15:47:20 +0000 Subject: [PATCH] (svn r4109) - Fix (r4105) [iconv]: Only include the needed headers when ICONV is actually used. Thanks for noticing Bjarni --- unix.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/unix.c b/unix.c index 252777637a..7374dce9ad 100644 --- a/unix.c +++ b/unix.c @@ -8,15 +8,12 @@ #include "table/strings.h" #include "hal.h" #include "variables.h" -#include "debug.h" #include #include #include #include #include -#include -#include #ifdef USE_HOMEDIR #include @@ -613,6 +610,10 @@ void CSleep(int milliseconds) #ifdef WITH_ICONV +#include +#include +#include "debug.h" + #define INTERNALCODE "ISO-8859-15" /** Try and try to decipher the current locale from environmental