diff options
author | Ed Maste <emaste@freebsd.org> | 2014-10-01 12:56:39 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-10-01 12:56:39 +0000 |
commit | 81f59a09f22fde3aaeffb97574ea438e511d5988 (patch) | |
tree | 9652ca29cf30b39cf949b4c8c8a6330a2e779af1 | |
parent | 0f7ab59adcc685efcb1a5020a38301a4c823bf3d (diff) | |
download | bcm5719-llvm-81f59a09f22fde3aaeffb97574ea438e511d5988.tar.gz bcm5719-llvm-81f59a09f22fde3aaeffb97574ea438e511d5988.zip |
Add a bandaid to fix the FreeBSD build
r218568 added an explicit #include of the Linux ProcessMonitor.h to
POSIXThread.cpp, rather than including just "ProcessMonitor.h" and
relying on the build infrastructure for the appropriate paths.
For now add #ifdefs in the source to use the FreeBSD or Linux header
as appropriate; a cleaner fix (and perhaps some refactoring of the
POSIX classes) should still be done later.
llvm-svn: 218762
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp b/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp index 04a7f817601..b4f2faa13e4 100644 --- a/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp +++ b/lldb/source/Plugins/Process/POSIX/RegisterContextPOSIXProcessMonitor_x86.cpp @@ -12,7 +12,11 @@ #include "Plugins/Process/POSIX/ProcessPOSIX.h" #include "RegisterContextPOSIXProcessMonitor_x86.h" +#if defined(__FreeBSD__) +#include "Plugins/Process/FreeBSD/ProcessMonitor.h" +#elif defined(__linux__) #include "Plugins/Process/Linux/ProcessMonitor.h" +#endif using namespace lldb_private; using namespace lldb; |