Don't include alloca.h on FreeBSD.

This commit is contained in:
Gleb Popov 2020-03-27 19:20:21 +00:00 committed by Wim Taymans
parent e6675ff2a8
commit b552863ec9
2 changed files with 4 additions and 0 deletions

View file

@ -6,7 +6,9 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <string.h>
#ifndef __FreeBSD__
#include <alloca.h>
#endif
#include <errno.h>
#include <stdio.h>
#include <assert.h>