summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2015-02-10 17:16:13 +0000
committerSylvestre Ledru <sylvestre@debian.org>2015-02-10 17:16:13 +0000
commit57958b5d359aab5daab2d579daaa098b908a3ed6 (patch)
tree45020465b8ccf395738e22f056c16f01e5ddad27 /lldb/tools/lldb-mi
parente73e82f2beb4d25c9007a0878ca131959ec1f1b2 (diff)
downloadbcm5719-llvm-57958b5d359aab5daab2d579daaa098b908a3ed6.tar.gz
bcm5719-llvm-57958b5d359aab5daab2d579daaa098b908a3ed6.zip
Fix the LLDB build under Debian Kfreebsd
Summary: I don't know if there is a better way for the change in source/Host/freebsd/ThisThread.cpp Reviewers: emaste Subscribers: hansw, emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D7441 llvm-svn: 228710
Diffstat (limited to 'lldb/tools/lldb-mi')
-rw-r--r--lldb/tools/lldb-mi/MICmnLogMediumFile.cpp2
-rw-r--r--lldb/tools/lldb-mi/MIUtilSystemLinux.cpp2
-rw-r--r--lldb/tools/lldb-mi/MIUtilSystemLinux.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp b/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp
index add4426b935..75c46c899dc 100644
--- a/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp
+++ b/lldb/tools/lldb-mi/MICmnLogMediumFile.cpp
@@ -24,7 +24,7 @@
#include "MICmnResources.h"
#if defined(_MSC_VER)
#include "MIUtilSystemWindows.h"
-#elif defined(__FreeBSD__) || defined(__linux__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__linux__)
#include "MIUtilSystemLinux.h"
#elif defined(__APPLE__)
#include "MIUtilSystemOsx.h"
diff --git a/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp b/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp
index 8227302356c..f2b409dd64b 100644
--- a/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp
+++ b/lldb/tools/lldb-mi/MIUtilSystemLinux.cpp
@@ -19,7 +19,7 @@
// Copyright: None.
//--
-#if defined(__FreeBSD__) || defined(__linux__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__linux__)
// In-house headers:
#include "MIUtilSystemLinux.h"
diff --git a/lldb/tools/lldb-mi/MIUtilSystemLinux.h b/lldb/tools/lldb-mi/MIUtilSystemLinux.h
index 451b887e209..57518bcde34 100644
--- a/lldb/tools/lldb-mi/MIUtilSystemLinux.h
+++ b/lldb/tools/lldb-mi/MIUtilSystemLinux.h
@@ -21,7 +21,7 @@
#pragma once
-#if defined(__FreeBSD__) || defined(__linux__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__linux__)
// In-house headers:
#include "MIUtilString.h"
OpenPOWER on IntegriCloud