mirror of
https://github.com/mirror/wget.git
synced 2025-01-09 20:00:59 +08:00
Conditional inclusion of Gnulib alloc headers.
This commit is contained in:
parent
53ba46d628
commit
34747d72eb
@ -208,7 +208,12 @@ typedef double SUM_SIZE_INT;
|
|||||||
#include "options.h"
|
#include "options.h"
|
||||||
|
|
||||||
/* Everything uses this, so include them here directly. */
|
/* Everything uses this, so include them here directly. */
|
||||||
#include "xmalloc.h"
|
#ifdef USE_GNULIB_ALLOC
|
||||||
|
# include <alloca.h>
|
||||||
|
# include "xalloc.h"
|
||||||
|
#else
|
||||||
|
# include "xmalloc.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Likewise for logging functions. */
|
/* Likewise for logging functions. */
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user