diff options
author | Slávek Banko <[email protected]> | 2015-07-08 23:17:54 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-07-09 09:21:26 +0200 |
commit | d457edb8e9adc208b76e526d875fc729494ce9c3 (patch) | |
tree | f297e19785a4010d705ce7518d525196350d3728 /kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c | |
parent | e9e345d94e06d3d692578a77af80b21d102c88ad (diff) | |
download | libksquirrel-d457edb8e9adc208b76e526d875fc729494ce9c3.tar.gz libksquirrel-d457edb8e9adc208b76e526d875fc729494ce9c3.zip |
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6)
Diffstat (limited to 'kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c')
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c b/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c index c975892..c38c214 100644 --- a/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c +++ b/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c @@ -35,7 +35,10 @@ #include <stdio.h> #include <stdlib.h> +#if defined(_MSC_VER) && (defined(WIN32) || defined(_Windows) || \ + defined(_WINDOWS) || defined(_WIN32) || defined(__WIN32__)) #include <malloc.h> +#endif #include <string.h> #include "jpeg.h" #include "mcu.h" |