#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"