File tree Expand file tree Collapse file tree 8 files changed +2
-28
lines changed
Plugins/ExpressionParser/Clang Expand file tree Collapse file tree 8 files changed +2
-28
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ set(CMAKE_REQUIRED_DEFINITIONS)
12
12
check_cxx_symbol_exists (accept4 "sys/socket.h" HAVE_ACCEPT4 )
13
13
14
14
check_include_file (termios.h HAVE_TERMIOS_H )
15
- check_include_file ("sys/types.h" HAVE_SYS_TYPES_H )
16
15
check_include_files ("sys/types.h;sys/event.h" HAVE_SYS_EVENT_H )
17
16
18
17
check_cxx_symbol_exists (process_vm_readv "sys/uio.h" HAVE_PROCESS_VM_READV )
Original file line number Diff line number Diff line change 13
13
14
14
#cmakedefine01 LLDB_HAVE_EL_RFUNC_T
15
15
16
-
17
- #cmakedefine01 HAVE_SYS_TYPES_H
18
-
19
16
#cmakedefine01 HAVE_SYS_EVENT_H
20
17
21
18
#cmakedefine01 HAVE_PPOLL
Original file line number Diff line number Diff line change 56
56
#define S_IRWXO 0
57
57
#endif
58
58
59
- #if HAVE_SYS_TYPES_H
60
59
// pyconfig.h typedefs this. We require python headers to be included before
61
60
// any LLDB headers, but there's no way to prevent python's pid_t definition
62
61
// from leaking, so this is the best option.
63
62
#ifndef NO_PID_T
64
63
#include < sys/types.h>
65
64
#endif
66
- #endif // HAVE_SYS_TYPES_H
67
65
68
66
#ifdef _MSC_VER
69
67
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " lldb/Host/Config.h"
10
-
11
9
#include < cstdio>
12
- #if HAVE_SYS_TYPES_H
13
10
#include < sys/types.h>
14
- #endif
15
11
16
12
#include < cstdlib>
17
13
#include < map>
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " lldb/Host/Config.h"
10
-
11
9
#include < cstdio>
12
- #if HAVE_SYS_TYPES_H
13
10
#include < sys/types.h>
14
- #endif
15
-
16
11
17
12
#include " lldb/Core/Module.h"
18
13
#include " lldb/Core/StreamFile.h"
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " lldb/Host/Config.h"
10
-
11
9
#include < cstdio>
12
- #if HAVE_SYS_TYPES_H
13
10
#include < sys/types.h>
14
- #endif
15
11
16
12
#include < cstdlib>
17
13
#include < map>
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " lldb/Host/Config.h"
10
-
11
9
#include " ClangUtilityFunction.h"
12
10
#include " ClangExpressionDeclMap.h"
13
11
#include " ClangExpressionParser.h"
14
12
#include " ClangExpressionSourceCode.h"
15
13
#include " ClangPersistentVariables.h"
16
14
17
15
#include < cstdio>
18
- #if HAVE_SYS_TYPES_H
19
16
#include < sys/types.h>
20
- #endif
21
17
22
18
23
19
#include " lldb/Core/Module.h"
Original file line number Diff line number Diff line change 9
9
#ifndef LLDB_TOOLS_DRIVER_PLATFORM_H
10
10
#define LLDB_TOOLS_DRIVER_PLATFORM_H
11
11
12
- #include " lldb/Host/Config.h"
13
-
14
12
#if defined(_WIN32)
15
13
16
14
#include < io.h>
17
15
#if defined(_MSC_VER)
18
16
#include < csignal>
19
17
#endif
20
- #if HAVE_SYS_TYPES_H
21
- #include < sys/types.h>
22
- #endif
18
+
23
19
#include " lldb/Host/windows/windows.h"
24
20
#include < cinttypes>
21
+ #include < sys/types.h>
25
22
26
23
struct winsize {
27
24
long ws_col;
You can’t perform that action at this time.
0 commit comments