#include #include #include #include #include #include extern "C" { pid_t gettid() { return syscall(SYS_gettid); } unsigned int msleep(unsigned int ms) { return (unsigned int)syscall(SYS_sleep, ms); } noreturn void __luna_abort(const char* message) { fputs(message, stderr); abort(); } }