diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-07-08 23:17:54 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-07-08 23:17:54 +0200 |
commit | 7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6 (patch) | |
tree | bde1c642c528d96b00de7eef724e187738a35130 /kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c | |
parent | aef0dd23e55dd3d8e57825ee832928cf3ce00cd4 (diff) | |
download | libksquirrel-7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6.tar.gz libksquirrel-7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6.zip |
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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" |