Skip to content

Commit 08067b9

Browse files
authored
Merge pull request #3463 from apple/🍒/FBI/08f4b56fb979
[lldb] Include unistd.h for sleep in profile_vrs_detach
2 parents e566cba + 22bf6d0 commit 08067b9

File tree

1 file changed

+2
-1
lines changed
  • lldb/test/API/macosx/profile_vrs_detach

1 file changed

+2
-1
lines changed

lldb/test/API/macosx/profile_vrs_detach/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#include <stdio.h>
2+
#include <unistd.h>
23

34
int
45
main()
56
{
67
while (1) {
7-
sleep(1); // Set a breakpoint here
8+
sleep(1); // Set a breakpoint here
89
printf("I slept\n");
910
}
1011
return 0;

0 commit comments

Comments
 (0)