Remove includes of non-standard alloca.h header.

The alloca.h header is not present on FreeBSD, even though alloca() is
available. Including stdlib.h should be enough on all platforms that
support alloca().
This commit is contained in:
Florian Walpen 2022-01-06 20:11:43 +01:00 committed by Filipe Coelho
parent 3083a00dd5
commit de42b83c20
3 changed files with 0 additions and 3 deletions

View File

@ -39,7 +39,6 @@
#define _GNU_SOURCE
#endif
#include <alloca.h>
#include <math.h>
#include <stdio.h>
#include <memory.h>

View File

@ -4,7 +4,6 @@
* as they would be used by many applications.
*/
#include <alloca.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>

View File

@ -19,7 +19,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <alloca.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>