#include <mach/message.h>
#include <mach/host_priv.h>
#include <mach/host_reboot.h>
+#include <mach/kern_return.h>
#include <sys/sysctl.h>
#include <sys/reboot.h>
#include <sys/paths.h>
#include <sys/spawn.h>
#include <sys/proc_info.h>
+#include <crt_externs.h>
#define OS_CRASH_ENABLE_EXPERIMENTAL_LIBTRACE 1
#include <os/assumes.h>
#include <bootstrap_priv.h>
#include <assert.h>
-#define RDAR_12809455 1
-
#include "h/bsd.h"
#include "h/cleanup.h"
+#include "h/ctl.h"
#include "h/err.h"
#include "h/errno.h"
#include "h/mach_exception.h"
#include "h/stdlib.h"
#include "h/string.h"
-#if DARWIN_TAPI
-// Duplicate declarations to make TAPI happy. This header is included in the
-// TAPI build as an extra public header.
-API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0))
-OS_EXPORT OS_NONNULL1
-void
-os_assert_mach(const char *op, kern_return_t kr);
-
-API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(5.0))
-OS_EXPORT
-void
-os_assert_mach_port_status(const char *desc, mach_port_t p,
- mach_port_status_t *expected);
-#endif
-
#endif //__DARWIN_INTERNAL_H