X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fcoreparse.c;h=fefa834b6c2a207cd4477ec93fa21aadcbd0be58;hb=2f9585060d5fe2c525955d80f34123761ded80fe;hp=28a08afda67b5e207ae49bd42e40ec9a48840456;hpb=cb1734df0f1d211b22071632e7278d8f278b8fe3;p=sbcl.git diff --git a/src/runtime/coreparse.c b/src/runtime/coreparse.c index 28a08af..fefa834 100644 --- a/src/runtime/coreparse.c +++ b/src/runtime/coreparse.c @@ -14,6 +14,19 @@ * files for more information. */ +#include "sbcl.h" + +#ifndef LISP_FEATURE_WIN32 +#ifdef LISP_FEATURE_LINUX +/* For madvise */ +#define _BSD_SOURCE +#include +#undef _BSD_SOURCE +#else +#include +#endif +#endif + #include #include #include @@ -23,16 +36,6 @@ #include #include -#include "sbcl.h" - -#ifndef LISP_FEATURE_WIN32 -#ifdef LISP_FEATURE_LINUX -/* For madvise */ -# define _BSD_SOURCE -#endif -#include -#endif - #include "os.h" #include "runtime.h" #include "globals.h"