Skip to content

Commit de42b83

Browse files
0EVSGfalkTX
authored andcommitted
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().
1 parent 3083a00 commit de42b83

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

common/netjack_packet.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#define _GNU_SOURCE
4040
#endif
4141

42-
#include <alloca.h>
4342
#include <math.h>
4443
#include <stdio.h>
4544
#include <memory.h>

tools/alsa_out.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* as they would be used by many applications.
55
*/
66

7-
#include <alloca.h>
87
#include <stdio.h>
98
#include <errno.h>
109
#include <unistd.h>

tools/session_notify.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2020
*/
2121

22-
#include <alloca.h>
2322
#include <stdio.h>
2423
#include <errno.h>
2524
#include <unistd.h>

0 commit comments

Comments
 (0)