Skip to content

Commit 22bf6d0

Browse files
committed
[lldb] Include unistd.h for sleep in profile_vrs_detach
(cherry picked from commit 08f4b56)
1 parent 77a5a49 commit 22bf6d0

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)