mirror of
https://github.com/mirror/wget.git
synced 2026-08-23 03:13:28 +08:00
Conditional inclusion of Gnulib alloc headers.
This commit is contained in:
@@ -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 <alloca.h>
|
||||
# include "xalloc.h"
|
||||
#else
|
||||
# include "xmalloc.h"
|
||||
#endif
|
||||
|
||||
/* Likewise for logging functions. */
|
||||
#include "log.h"
|
||||
|
||||
Reference in New Issue
Block a user