From 34747d72eb01960c81273d195e44100b1bf18efc Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Fri, 18 Apr 2008 21:42:02 +0200 Subject: [PATCH] Conditional inclusion of Gnulib alloc headers. --- src/wget.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" -- 2.39.2