diff options
Diffstat (limited to 'kernel/kls_ljpeg/ljpeg2ppm/huffd.c')
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/huffd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/huffd.c b/kernel/kls_ljpeg/ljpeg2ppm/huffd.c index da5d2e9..456acf3 100644 --- a/kernel/kls_ljpeg/ljpeg2ppm/huffd.c +++ b/kernel/kls_ljpeg/ljpeg2ppm/huffd.c @@ -36,7 +36,10 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#if defined(_MSC_VER) && (defined(WIN32) || defined(_Windows) || \ + defined(_WINDOWS) || defined(_WIN32) || defined(__WIN32__)) #include <malloc.h> +#endif #include "jpeg.h" #include "mcu.h" #include "io.h" |