From: Steven Schubiger Date: Fri, 18 Apr 2008 19:42:02 +0000 (+0200) Subject: Conditional inclusion of Gnulib alloc headers. X-Git-Tag: v1.13~421^2~12^2~28^2~19 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=34747d72eb01960c81273d195e44100b1bf18efc Conditional inclusion of Gnulib alloc headers. --- diff --git a/src/wget.h b/src/wget.h index d8ab0c90..a0122db9 100644 --- a/src/wget.h +++ b/src/wget.h @@ -208,7 +208,12 @@ typedef double SUM_SIZE_INT; #include "options.h" /* Everything uses this, so include them here directly. */ -#include "xmalloc.h" +#ifdef USE_GNULIB_ALLOC +# include +# include "xalloc.h" +#else +# include "xmalloc.h" +#endif /* Likewise for logging functions. */ #include "log.h"