Skip to content

Commit

Permalink
src/r_data: alloca is not LINUX specific
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Munaut <[email protected]>
  • Loading branch information
smunaut committed Jan 16, 2021
1 parent 00710b7 commit 836e9f0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/r_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ static const char __attribute__((unused))
rcsid[] = "$Id: r_data.c,v 1.4 1997/02/03 16:47:55 b1 Exp $";


#include <alloca.h>


#include "i_system.h"
#include "z_zone.h"

Expand All @@ -42,11 +45,6 @@ rcsid[] = "$Id: r_data.c,v 1.4 1997/02/03 16:47:55 b1 Exp $";
#include "doomstat.h"
#include "r_sky.h"

#ifdef LINUX
#include <alloca.h>
#endif


#include "r_data.h"

//
Expand Down

0 comments on commit 836e9f0

Please sign in to comment.