Use iconv on linux

This commit is contained in:
Chase
2019-01-12 16:54:57 -06:00
committed by Jon Trulson
parent b9f352df59
commit 4d7f9df692
6 changed files with 5 additions and 34 deletions

View File

@@ -56,10 +56,7 @@ static char sccsid[] = "$TOG: RFCMIME.c /main/11 1999/06/30 12:08:55 mgreess $";
#include <assert.h>
#include <RFCMIME.h>
/* Iconv not defined for linux. Use the EUSCompat stubs instead. */
#if !defined(__linux__)
# include <iconv.h>
#endif
#include <iconv.h>
#include <EUSCompat.h>
#include <locale.h>
#include <LocaleXlate.h>

View File

@@ -70,10 +70,7 @@ should be fixed in the future.
#include <Xm/Xm.h>
#include <langinfo.h>
/* Iconv not defined for linux. Use the EUSCompat stubs instead. */
#if !defined(__linux__)
# include <iconv.h>
#endif
#include <iconv.h>
#include <EUSCompat.h>
#include "util.h"