Skip to content

Commit 2704b27

Browse files
committed
[lldb] Include unistd.h for _exit in multi-process-driver.cpp
This test fails to build on macOS without the correct header include.
1 parent 6e988bd commit 2704b27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/test/API/api/multiple-debuggers/multi-process-driver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
// that are hit when lldb is being used to debug multiple processes
1414
// simultaneously.
1515

16+
#include <inttypes.h>
1617
#include <stdio.h>
1718
#include <stdlib.h>
1819
#include <string.h>
19-
#include <inttypes.h>
20+
#include <unistd.h>
2021

2122
#include "lldb/API/LLDB.h"
2223
#include "lldb/API/SBCommandInterpreter.h"

0 commit comments

Comments
 (0)