Skip to content

Commit fa5d7c9

Browse files
committed
[lldb][lldb-dap] Fix runInTerminal test program on Windows
1 parent b876910 commit fa5d7c9

File tree

1 file changed

+4
-0
lines changed
  • lldb/test/API/tools/lldb-dap/runInTerminal

1 file changed

+4
-0
lines changed

lldb/test/API/tools/lldb-dap/runInTerminal/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include <stdio.h>
22
#include <stdlib.h>
3+
#ifdef _WIN32
4+
#include <stdlib.h>
5+
#else
36
#include <unistd.h>
7+
#endif
48

59
int main(int argc, char *argv[]) {
610
const char *foo = getenv("FOO");

0 commit comments

Comments
 (0)