~ chicken-core (chicken-5) 7c570b21bc0416539dc2fcd8d1354313c66e3f6e
commit 7c570b21bc0416539dc2fcd8d1354313c66e3f6e Author: felix <felix@call-with-current-continuation.org> AuthorDate: Fri Nov 10 12:02:46 2017 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Fri Nov 10 12:02:46 2017 +0100 drop unneeded header for OpenBSD diff --git a/runtime.c b/runtime.c index c05b48c6..3088a8b3 100644 --- a/runtime.c +++ b/runtime.c @@ -41,6 +41,10 @@ # include <android/log.h> #endif +#if defined(C_XXXBSD) || defined(__linux__) +#include <fcntl.h> +#endif + #if !defined(PIC) # define NO_DLOAD2 #endif @@ -12530,9 +12534,6 @@ C_i_pending_interrupt(C_word dummy) #ifdef __linux__ # include <sys/syscall.h> -# include <fcntl.h> -#elif defined(__OpenBSD__) -# include <sys/systm.h> #endifTrap