]> sjero.net Git - wget/blobdiff - src/wget.h
Conditional inclusion of Gnulib alloc headers.
[wget] / src / wget.h
index 08d8d8374ebd803b1cee0cf3681b6cb47ff74786..a0122db9cc2043e7006c62ce7c9e1756229f857a 100644 (file)
@@ -208,11 +208,19 @@ 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"
-\f
+
+/* Likewise for quoting functions.  */
+#include "quote.h"
+
 /* Useful macros used across the code: */
 
 /* The number of elements in an array.  For example: