dbf-halloween2015
diff src/image.cc @ 3:c37fe5d8a4ed
windows port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:04:28 +0200 |
parents | 50683c78264e |
children |
line diff
1.1 --- a/src/image.cc Sun Nov 01 00:51:36 2015 +0200 1.2 +++ b/src/image.cc Sun Nov 01 06:04:28 2015 +0200 1.3 @@ -1,6 +1,10 @@ 1.4 #include <string.h> 1.5 #include <stdlib.h> 1.6 +#ifdef _MSC_VER 1.7 +#include <malloc.h> 1.8 +#else 1.9 #include <alloca.h> 1.10 +#endif 1.11 #include "opengl.h" 1.12 #include "image.h" 1.13 #include "imago2.h"