Apple prefers <sys/ucontext.h> to <ucontext.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
+
+#ifdef __APPLE__
+# include <sys/ucontext.h>
+#else
# include <ucontext.h>
+#endif
enum lucet_error {
lucet_error_ok,
