projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes for compiling under msys2
[dosdemo]
/
tools
/
csprite
/
src
/
main.c
diff --git
a/tools/csprite/src/main.c
b/tools/csprite/src/main.c
index
a59aa3e
..
c549b3e
100644
(file)
--- a/
tools/csprite/src/main.c
+++ b/
tools/csprite/src/main.c
@@
-3,7
+3,11
@@
#include <string.h>
#include <stdint.h>
#include <assert.h>
+#ifdef WIN32
+#include <malloc.h>
+#else
#include <alloca.h>
+#endif
#include "image.h"
struct rect {