# HG changeset patch # User Bruno Haible # Date 1155301784 0 # Node ID 7c420c56708743ee48b40058130b38fa0d01f0ba # Parent 5b8becde98790159e1bff4389395f397981148bc Work around the __VA_LIST__ in problem on Tru64 with DTK compiler. diff --git a/m4/ChangeLog b/m4/ChangeLog --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2006-08-11 Bruno Haible + + * wcwidth.m4 (gl_FUNC_WCWIDTH): Include and before + . Needed for OSF/1 and BSD/OS. + 2006-08-10 Jim Meyering * cycle-check.m4: New file. diff --git a/m4/wcwidth.m4 b/m4/wcwidth.m4 --- a/m4/wcwidth.m4 +++ b/m4/wcwidth.m4 @@ -1,4 +1,4 @@ -# wcwidth.m4 serial 4 +# wcwidth.m4 serial 5 dnl Copyright (C) 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -19,6 +19,12 @@ /* AIX 3.2.5 declares wcwidth in . */ #include #if HAVE_WCHAR_H +/* Tru64 with Desktop Toolkit C has a bug: must be included before + . + BSD/OS 4.1 has a bug: and must be included before + . */ +# include +# include # include #endif ])])