Author: Jonas Devlieghere Date: 2021-10-21T17:32:15-07:00 New Revision: 08f4b56fb9795b5d271378fb62c3fed67ab1b754
URL: https://github.com/llvm/llvm-project/commit/08f4b56fb9795b5d271378fb62c3fed67ab1b754 DIFF: https://github.com/llvm/llvm-project/commit/08f4b56fb9795b5d271378fb62c3fed67ab1b754.diff LOG: [lldb] Include unistd.h for sleep in profile_vrs_detach Added: Modified: lldb/test/API/macosx/profile_vrs_detach/main.c Removed: ################################################################################ diff --git a/lldb/test/API/macosx/profile_vrs_detach/main.c b/lldb/test/API/macosx/profile_vrs_detach/main.c index 6bcd3342441b..939308414edc 100644 --- a/lldb/test/API/macosx/profile_vrs_detach/main.c +++ b/lldb/test/API/macosx/profile_vrs_detach/main.c @@ -1,10 +1,11 @@ #include <stdio.h> +#include <unistd.h> int main() { while (1) { - sleep(1); // Set a breakpoint here + sleep(1); // Set a breakpoint here printf("I slept\n"); } return 0; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits