From: Juho Snellman Date: Thu, 29 Sep 2011 09:06:48 +0000 (+0200) Subject: Probably fix compile on win32 (no sys/mman.h). X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=4aad6e46b8b15dc409b80dc720e3372d39023b4b;p=sbcl.git Probably fix compile on win32 (no sys/mman.h). --- diff --git a/src/runtime/coreparse.c b/src/runtime/coreparse.c index 85f2aa9..3109b0b 100644 --- a/src/runtime/coreparse.c +++ b/src/runtime/coreparse.c @@ -22,11 +22,14 @@ #include #include #include + +#ifndef LISP_FEATURE_WIN32 #ifdef LISP_FEATURE_LINUX /* For madvise */ # define _BSD_SOURCE #endif #include +#endif #include "sbcl.h" #include "os.h"