about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-12-15 14:51:39 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-12-15 14:51:39 +0000
commitf7037211ad3a9e4f61a5d1aad8eceab5e01b4663 (patch)
tree5b9d6f8cabf4ed369f585840e5d78b22acb08d34 /Src/system.h
parentb5a83cc7549e48a82dd57859f40a8f282f1534d0 (diff)
downloadzsh-f7037211ad3a9e4f61a5d1aad8eceab5e01b4663.tar.gz
zsh-f7037211ad3a9e4f61a5d1aad8eceab5e01b4663.tar.xz
zsh-f7037211ad3a9e4f61a5d1aad8eceab5e01b4663.zip
22085 and back off 22075: include langinfo.h to get iconv
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/Src/system.h b/Src/system.h
index 3b698161a..33804e71a 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -703,11 +703,10 @@ extern short ospeed;
  */
 # include <wchar.h>
 # include <wctype.h>
-#else
-# ifdef HAVE_LANGINFO_H
-#   include <langinfo.h>
-#   ifdef HAVE_ICONV
-#     include <iconv.h>
-#   endif
-# endif
+#endif
+#ifdef HAVE_LANGINFO_H
+#  include <langinfo.h>
+#  ifdef HAVE_ICONV
+#    include <iconv.h>
+#  endif
 #endif