diff options
Diffstat (limited to 'kernel/kls_ljpeg')
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/huffd.c | 3 | ||||
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c | 3 | ||||
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/mcu.c | 3 | ||||
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/read.c | 3 | ||||
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/util.c | 3 |
5 files changed, 15 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" 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" diff --git a/kernel/kls_ljpeg/ljpeg2ppm/mcu.c b/kernel/kls_ljpeg/ljpeg2ppm/mcu.c index bb1f0b3..d590e72 100644 --- a/kernel/kls_ljpeg/ljpeg2ppm/mcu.c +++ b/kernel/kls_ljpeg/ljpeg2ppm/mcu.c @@ -30,7 +30,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" diff --git a/kernel/kls_ljpeg/ljpeg2ppm/read.c b/kernel/kls_ljpeg/ljpeg2ppm/read.c index e4855fd..ac12070 100644 --- a/kernel/kls_ljpeg/ljpeg2ppm/read.c +++ b/kernel/kls_ljpeg/ljpeg2ppm/read.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" diff --git a/kernel/kls_ljpeg/ljpeg2ppm/util.c b/kernel/kls_ljpeg/ljpeg2ppm/util.c index d5e99cb..9474291 100644 --- a/kernel/kls_ljpeg/ljpeg2ppm/util.c +++ b/kernel/kls_ljpeg/ljpeg2ppm/util.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 "proto.h" |