#ifndef _KLIBC_FIXUPS_H
#define _KLIBC_FIXUPS_H
+#define _KLIBC_HAS_ARCH_SIG_ATOMIC_T
+#include <unistd.h>
+
+#define _SC_PAGESIZE 0x66
+static inline long int sysconf(int name)
+{
+ if (name == _SC_PAGESIZE)
+ return getpagesize();
+
+ return -1;
+}
+
struct exit_status {
short int e_termination; /* process termination status */
short int e_exit; /* process exit status */