-#include "wimlib_internal.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include "wimlib.h"
+#include "wimlib/encoding.h"
+#include "wimlib/error.h"
+#include "wimlib/list.h"
+#include "wimlib/util.h"
{
iconv_cleanup(&iconv_utf8_to_tstr);
iconv_cleanup(&iconv_tstr_to_utf8);
#if !TCHAR_IS_UTF16LE
iconv_cleanup(&iconv_utf16le_to_tstr);
iconv_cleanup(&iconv_tstr_to_utf16le);
{
iconv_cleanup(&iconv_utf8_to_tstr);
iconv_cleanup(&iconv_tstr_to_utf8);
#if !TCHAR_IS_UTF16LE
iconv_cleanup(&iconv_utf16le_to_tstr);
iconv_cleanup(&iconv_tstr_to_utf16le);