Conditional inclusion of Gnulib alloc headers.

This commit is contained in:
Steven Schubiger 2008-04-18 21:42:02 +02:00
parent 53ba46d628
commit 34747d72eb
1 changed files with 6 additions and 1 deletions

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