diff -upr sbcl-1.3.1.orig/src/runtime/interrupt.h sbcl-1.3.1/src/runtime/interrupt.h --- sbcl-1.3.1.orig/src/runtime/interrupt.h 2016-04-05 19:48:17.820002917 +0200 +++ sbcl-1.3.1/src/runtime/interrupt.h 2016-04-05 19:48:58.625144439 +0200 @@ -14,6 +14,7 @@ #include "runtime.h" #include +#include /* * This is a workaround for some slightly silly Linux/GNU Libc diff -upr sbcl-1.3.1.orig/src/runtime/linux-os.h sbcl-1.3.1/src/runtime/linux-os.h --- sbcl-1.3.1.orig/src/runtime/linux-os.h 2016-04-05 19:48:17.823336398 +0200 +++ sbcl-1.3.1/src/runtime/linux-os.h 2016-04-05 19:48:47.117967857 +0200 @@ -24,7 +24,7 @@ #include // Needs to be defined before including target-arch.h -typedef caddr_t os_vm_address_t; +typedef void *os_vm_address_t; typedef size_t os_vm_size_t; typedef off_t os_vm_offset_t; typedef int os_vm_prot_t; diff -upr sbcl-1.3.8.orig/src/runtime/wrap.c sbcl-1.3.8/src/runtime/wrap.c --- sbcl-1.3.8.orig/src/runtime/wrap.c 2016-08-10 21:35:04.691583991 +0200 +++ sbcl-1.3.8/src/runtime/wrap.c 2016-08-10 21:35:25.371508919 +0200 @@ -35,6 +35,7 @@ #include #include #include +#include #ifndef LISP_FEATURE_WIN32 #include