]> sjero.net Git - wget/blobdiff - src/wget.h
Conditional inclusion of Gnulib alloc headers.
[wget] / src / wget.h
index d8ab0c90a7b8c1a4c24f9ae5a77d5c66a49e4fde..a0122db9cc2043e7006c62ce7c9e1756229f857a 100644 (file)
@@ -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"