lvがないと生きていけない自分に気づきました。

こんなクイックハックで。boolean_tがかぶるのとAIXでのShift_JISを登録。AIX4.3.3でGCC4.1.1を使ったときの場合。

diff -rc lv451.orig/src/boolean.h lv451/src/boolean.h
*** lv451.orig/src/boolean.h    2004-01-05 01:25:29.000000000 -0600
--- lv451/src/boolean.h 2006-08-04 03:23:08.000000000 -0500
***************
*** 15,23 ****
  #ifndef TRUE
  #define TRUE          1
  #endif
!
  #ifndef boolean_t
  #define boolean_t     int
  #endif

  #endif /* __BOOLEAN_H__ */
--- 15,25 ----
  #ifndef TRUE
  #define TRUE          1
  #endif
! /*
  #ifndef boolean_t
  #define boolean_t     int
  #endif
+ */
+ #include <sys/types.h>

  #endif /* __BOOLEAN_H__ */
diff -rc lv451.orig/src/guesslocale.c lv451/src/guesslocale.c
*** lv451.orig/src/guesslocale.c        2004-01-05 02:41:22.000000000 -0600
--- lv451/src/guesslocale.c     2006-08-04 03:54:28.000000000 -0500
***************
*** 96,101 ****
--- 96,102 ----
    else if ( !strcmp2(nl, "BIG5") ) c = BIG_FIVE;
    else if ( !strcmp2(nl, "SHIFT_JIS") ) c = SHIFT_JIS;
    else if ( !strcmp2(nl, "SJIS") ) c = SHIFT_JIS;
+   else if ( !strcmp2(nl, "IBM-943") ) c = SHIFT_JIS;
    else c = ISO_8859_1;

    strcpy( language, lang );