Probably fix compile on win32 (no sys/mman.h).
authorJuho Snellman <jsnell@iki.fi>
Thu, 29 Sep 2011 09:06:48 +0000 (11:06 +0200)
committerJuho Snellman <jsnell@iki.fi>
Thu, 29 Sep 2011 09:06:48 +0000 (11:06 +0200)
src/runtime/coreparse.c

index 85f2aa9..3109b0b 100644 (file)
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <unistd.h>
+
+#ifndef LISP_FEATURE_WIN32
 #ifdef LISP_FEATURE_LINUX
 /* For madvise */
 # define _BSD_SOURCE
 #endif
 #include <sys/mman.h>
+#endif
 
 #include "sbcl.h"
 #include "os.h"