diff options
author | Werner Lemberg <wl@gnu.org> | 2014-10-20 20:54:11 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2014-10-20 20:54:11 +0200 |
commit | ac964fdf469d8ac9514296c935d35e4adce1ea5d (patch) | |
tree | c0bd48bdf3b61ceb6696b12a6e793ea3fbfed068 | |
parent | 0946e1702eef229a7486b8d920a6ae010e53fe16 (diff) | |
download | groff-git-ac964fdf469d8ac9514296c935d35e4adce1ea5d.tar.gz |
* src/libs/gnulib/lib/wctype.in.h: Include `config.h'.
Problem reported by Eli Zaretskii <eliz@gnu.org>.
This is a temporary hack to make groff compile with MinGW. After
the switch to an automake infrastructure, together with proper use
of `gnulib', we can safely replace the patched file with a standard
version.
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | src/libs/gnulib/lib/wctype.in.h | 9 |
2 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2014-10-20 Werner LEMBERG <wl@gnu.org> + + * src/libs/gnulib/lib/wctype.in.h: Include `config.h'. + + Problem reported by Eli Zaretskii <eliz@gnu.org>. + + This is a temporary hack to make groff compile with MinGW. After + the switch to an automake infrastructure, together with proper use + of `gnulib', we can safely replace the patched file with a standard + version. + 2014-10-19 Doug McIlroy <doug@cs.dartmouth.edu> Fix Savannah bug #42151. diff --git a/src/libs/gnulib/lib/wctype.in.h b/src/libs/gnulib/lib/wctype.in.h index b8ecca4d2..e8d097a9f 100644 --- a/src/libs/gnulib/lib/wctype.in.h +++ b/src/libs/gnulib/lib/wctype.in.h @@ -32,6 +32,15 @@ #endif @PRAGMA_COLUMNS@ + +/* + * XXX: As soon as groff uses gnulib in a saner way (i.e., only a single + * `config.h' file for the whole package) this file should be replaced + * with an unpatched version, not containing the next #include line. + */ +#include "../config.h" + + #if @HAVE_WINT_T@ /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |