include alloca.h if available

This commit is contained in:
Tim Rühsen
2015-01-30 17:43:58 +01:00
parent 0f541e8901
commit d6feb08086

View File

@ -33,6 +33,9 @@
#include <strings.h>
#include <fcntl.h>
#include <sys/stat.h>
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#endif
#ifdef HAVE_MMAP
# include <sys/mman.h>
#endif