Use stdlib.h instead of alloca.h.

While the manpage does say alloca.h, that's not very portable, it seems.
stdlib.h seems to be better (at least for mingw, anyway)
This commit is contained in:
Bill Currie 2013-01-10 21:54:37 +09:00
parent 9afeae0c47
commit 5bbb76194f
2 changed files with 2 additions and 2 deletions

View file

@ -28,8 +28,8 @@
# include "config.h"
#endif
#include <alloca.h>
#include <math.h>
#include <stdlib.h>
#include "QF/render.h"
#include "QF/sys.h"

View file

@ -31,8 +31,8 @@
#define NH_DEFINE
#include "namehack.h"
#include <alloca.h>
#include <math.h>
#include <stdlib.h>
#include "QF/render.h"
#include "QF/sys.h"