Commit fb2ed37e authored by deuce's avatar deuce
Browse files

#include <malloc.h> on Win32 for alloca() prototype.

parent 98bb608c
......@@ -40,6 +40,9 @@
#include <errno.h> /* ENOMEM */
#include <stdio.h> /* SEEK_SET */
#include <string.h>
#if defined(_WIN32)
#include <malloc.h> /* alloca() on Win32 */
#endif
#include "genwrap.h" /* SLEEP */
#include "gen_defs.h" /* BOOL/LOG_WARNING */
......
......@@ -37,6 +37,9 @@
#include <stdlib.h> /* malloc and qsort */
#include <string.h> /* strtok */
#if defined(_WIN32)
#include <malloc.h> /* alloca() on Win32 */
#endif
#include "genwrap.h" /* stricmp */
#include "str_list.h"
......
......@@ -39,6 +39,9 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#if defined(_WIN32)
#include <malloc.h> /* alloca() on Win32 */
#endif
#include "xpprintf.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment