From 7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2015 23:17:54 +0200 Subject: Fix FTBFS on freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c') 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 #include +#if defined(_MSC_VER) && (defined(WIN32) || defined(_Windows) || \ + defined(_WINDOWS) || defined(_WIN32) || defined(__WIN32__)) #include +#endif #include #include "jpeg.h" #include "mcu.h" -- cgit v1.2.1