X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/974e388456677d82eb6d10d4fd72390641a5bdfe..refs/heads/master:/sys/_libc_fork_child.c diff --git a/sys/_libc_fork_child.c b/sys/_libc_fork_child.c index 9311b0d..e6c2b57 100644 --- a/sys/_libc_fork_child.c +++ b/sys/_libc_fork_child.c @@ -24,7 +24,14 @@ * _libc_fork_child() is called from Libsystem's libSystem_atfork_child() */ #include +#if __has_include() #include +#else +#define CRSetCrashLogMessage(...) +#endif + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wstrict-prototypes" extern void _arc4_fork_child(); extern void _init_clock_port(void); @@ -40,3 +47,4 @@ _libc_fork_child(void) _init_clock_port(); __environ_lock_fork_child(); } +#pragma clang diagnostic pop