diff options
author | wl <wl> | 2009-06-25 16:37:53 +0000 |
---|---|---|
committer | wl <wl> | 2009-06-25 16:37:53 +0000 |
commit | f768f7d31c99bc064c65f395f7788079ac670c42 (patch) | |
tree | d65ea692b0ee85e31a1eb91e1526872bfa6375b2 /src | |
parent | 1119024834684aeea0954e2be7352c47f17db0f0 (diff) | |
download | groff-f768f7d31c99bc064c65f395f7788079ac670c42.tar.gz |
Make groff compile on Interix.
Reported by Jay Krell <jay.krell@cornell.edu>.
* configure.ac: Call AC_USE_SYTEM_EXTENSIONS.
* src/include/lib.h [__INTERIX]: Define _ALL_SOURCE.
* configure: Regenerated.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/lib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/lib.h b/src/include/lib.h index 32bed5bb..7f05f2d8 100644 --- a/src/include/lib.h +++ b/src/include/lib.h @@ -22,6 +22,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <config.h> #endif +#if defined(__INTERIX) && !defined(_ALL_SOURCE) +#define _ALL_SOURCE +#endif + extern "C" { #ifndef HAVE_STRERROR char *strerror(int); |