eobish
diff src/tileset.c @ 7:6a350c554e46
started DOS port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 19 Jan 2015 15:49:14 +0200 |
parents | 0baf4e98315e |
children |
line diff
1.1 --- a/src/tileset.c Mon Jan 19 02:32:01 2015 +0200 1.2 +++ b/src/tileset.c Mon Jan 19 15:49:14 2015 +0200 1.3 @@ -5,6 +5,11 @@ 1.4 #include <errno.h> 1.5 #include <ctype.h> 1.6 #include <assert.h> 1.7 +#if defined(_MSC_VER) || defined(__WATCOMC__) 1.8 +#include <malloc.h> 1.9 +#else 1.10 +#include <alloca.h> 1.11 +#endif 1.12 #include "tileset.h" 1.13 #include "image.h" 1.14