From 789f7e135333779ec5e95e46b3be68090c7ec5df Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sat, 20 Jun 2009 14:50:02 -0700 Subject: [PATCH] Fix for building on Interix, from Jay Krell. --- doc/ChangeLog | 4 ++++ doc/wget.texi | 1 + src/ChangeLog | 6 ++++++ src/sysdep.h | 4 ++++ 4 files changed, 15 insertions(+) diff --git a/doc/ChangeLog b/doc/ChangeLog index 09405562..39f390c4 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2009-06-20 Micah Cowan + + * wget.texi (Contributors): Added Jay Krell. + 2009-06-14 Micah Cowan * Makefile.am (wget.pod): $(srcdir)/version.texi -> version.texi diff --git a/doc/wget.texi b/doc/wget.texi index 05f19d95..92ed7905 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -3935,6 +3935,7 @@ Fila Kolodny, Alexander Kourakos, Martin Kraemer, Sami Krank, +Jay Krell, @tex $\Sigma\acute{\iota}\mu o\varsigma\; \Xi\varepsilon\nu\iota\tau\acute{\epsilon}\lambda\lambda\eta\varsigma$ diff --git a/src/ChangeLog b/src/ChangeLog index 0cdf77b3..a6dd402c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2009-06-20 Jay Krell + + * sysdep.h (_ALL_SOURCE): (small change) Define the _ALL_SOURCE + macro on INTERIX systems. (I switched the location from ftp.c to + sysdep.h --mjc) + 2009-06-15 Micah Cowan * ftp.c (getftp): If we can't accept the connection, return diff --git a/src/sysdep.h b/src/sysdep.h index a7416f9a..0377029e 100644 --- a/src/sysdep.h +++ b/src/sysdep.h @@ -41,6 +41,10 @@ as that of the covered work. */ # endif #endif +#if defined(__INTERIX) && !defined(_ALL_SOURCE) +# define _ALL_SOURCE +#endif + /* The "namespace tweaks" below attempt to set a friendly "compilation environment" under popular operating systems. Default compilation environment often means that some functions that are "extensions"