summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-02-06 18:36:58 +0000
committerPavel Labath <labath@google.com>2017-02-06 18:36:58 +0000
commit4ee1c952162ee2ba36f41792aa4604a5e5eaecdf (patch)
treea9acceb66ae02786333f2cedefd576463a18dae2
parent33aba3c290971bf10dd2f9503b3ac9f59e9254c0 (diff)
downloadbcm5719-llvm-4ee1c952162ee2ba36f41792aa4604a5e5eaecdf.tar.gz
bcm5719-llvm-4ee1c952162ee2ba36f41792aa4604a5e5eaecdf.zip
Fix missing include in NativeProcessLinux
llvm-svn: 294211
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
index fc0e312c6c7..4476569c0bc 100644
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -32,6 +32,8 @@
#include "lldb/Host/ThreadLauncher.h"
#include "lldb/Host/common/NativeBreakpoint.h"
#include "lldb/Host/common/NativeRegisterContext.h"
+#include "lldb/Host/linux/Ptrace.h"
+#include "lldb/Host/linux/Uio.h"
#include "lldb/Host/posix/ProcessLauncherPosixFork.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Target/Process.h"
@@ -47,20 +49,15 @@
#include "ProcFileReader.h"
#include "Procfs.h"
-// System includes - They have to be included after framework includes because
-// they define some
-// macros which collide with variable names in other modules
+#include "llvm/Support/Threading.h"
+
#include <linux/unistd.h>
#include <sys/socket.h>
-
#include <sys/syscall.h>
#include <sys/types.h>
#include <sys/user.h>
#include <sys/wait.h>
-#include "lldb/Host/linux/Ptrace.h"
-#include "lldb/Host/linux/Uio.h"
-
// Support hardware breakpoints in case it has not been defined
#ifndef TRAP_HWBKPT
#define TRAP_HWBKPT 4
OpenPOWER on IntegriCloud