X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Flinux-os.h;h=cfeaed4a11ace4e0307b28f696f020d680db889f;hb=6bbc22725d3bf663726ed9adca544e39316364a6;hp=e72aa72f0a2e3fb2014f4a7c046ca1f5cdbc985d;hpb=402958f92506b9d3de852601b8c1ccb99b5ee558;p=sbcl.git diff --git a/src/runtime/linux-os.h b/src/runtime/linux-os.h index e72aa72..cfeaed4 100644 --- a/src/runtime/linux-os.h +++ b/src/runtime/linux-os.h @@ -23,15 +23,16 @@ #include #include -#include "target-arch-os.h" -#include "target-arch.h" -#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) - +// Needs to be defined before including target-arch.h typedef caddr_t os_vm_address_t; typedef size_t os_vm_size_t; typedef off_t os_vm_offset_t; typedef int os_vm_prot_t; +#include "target-arch-os.h" +#include "target-arch.h" +#define linuxversion(a, b, c) (((a)<<16)+((b)<<8)+(c)) + #define OS_VM_PROT_READ PROT_READ #define OS_VM_PROT_WRITE PROT_WRITE #define OS_VM_PROT_EXECUTE PROT_EXEC