summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Core/StreamTee.h2
-rw-r--r--lldb/include/lldb/Core/StringList.h1
-rw-r--r--lldb/source/API/SBFileSpec.cpp2
-rw-r--r--lldb/source/API/SBLineEntry.cpp2
-rw-r--r--lldb/source/Core/DataBufferMemoryMap.cpp1
-rw-r--r--lldb/source/Core/PluginManager.cpp2
-rw-r--r--lldb/source/Host/common/File.cpp1
-rw-r--r--lldb/source/Host/common/Host.cpp1
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp1
9 files changed, 13 insertions, 0 deletions
diff --git a/lldb/include/lldb/Core/StreamTee.h b/lldb/include/lldb/Core/StreamTee.h
index 28951d17f6e..d315551c73a 100644
--- a/lldb/include/lldb/Core/StreamTee.h
+++ b/lldb/include/lldb/Core/StreamTee.h
@@ -10,6 +10,8 @@
#ifndef liblldb_StreamTee_h_
#define liblldb_StreamTee_h_
+#include <limits.h>
+
#include "lldb/Core/Stream.h"
#include "lldb/Host/Mutex.h"
diff --git a/lldb/include/lldb/Core/StringList.h b/lldb/include/lldb/Core/StringList.h
index f448a670417..b080919e87d 100644
--- a/lldb/include/lldb/Core/StringList.h
+++ b/lldb/include/lldb/Core/StringList.h
@@ -10,6 +10,7 @@
#ifndef liblldb_StringList_h_
#define liblldb_StringList_h_
+#include <stdint.h>
#include "lldb/Core/STLUtils.h"
#include "lldb/lldb-forward.h"
diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp
index 89275cfcfc9..a3a503dd601 100644
--- a/lldb/source/API/SBFileSpec.cpp
+++ b/lldb/source/API/SBFileSpec.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <limits.h>
+
#include "lldb/API/SBFileSpec.h"
#include "lldb/API/SBStream.h"
#include "lldb/Host/FileSpec.h"
diff --git a/lldb/source/API/SBLineEntry.cpp b/lldb/source/API/SBLineEntry.cpp
index 5187d584b7d..3567a3839c5 100644
--- a/lldb/source/API/SBLineEntry.cpp
+++ b/lldb/source/API/SBLineEntry.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+#include <limits.h>
+
#include "lldb/API/SBLineEntry.h"
#include "lldb/API/SBStream.h"
#include "lldb/Core/StreamString.h"
diff --git a/lldb/source/Core/DataBufferMemoryMap.cpp b/lldb/source/Core/DataBufferMemoryMap.cpp
index 83060d5584e..cf88f34c38e 100644
--- a/lldb/source/Core/DataBufferMemoryMap.cpp
+++ b/lldb/source/Core/DataBufferMemoryMap.cpp
@@ -10,6 +10,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/mman.h>
diff --git a/lldb/source/Core/PluginManager.cpp b/lldb/source/Core/PluginManager.cpp
index a853c507908..ae89c72b9ab 100644
--- a/lldb/source/Core/PluginManager.cpp
+++ b/lldb/source/Core/PluginManager.cpp
@@ -9,6 +9,8 @@
#include "lldb/Core/PluginManager.h"
+#include <limits.h>
+
#include <string>
#include <vector>
diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp
index 5a97bc98702..fefa3437efa 100644
--- a/lldb/source/Host/common/File.cpp
+++ b/lldb/source/Host/common/File.cpp
@@ -11,6 +11,7 @@
#include "lldb/Host/File.h"
#include <fcntl.h>
+#include <limits.h>
#include <stdarg.h>
#include <sys/stat.h>
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index 987d0b27f6c..5d984020da2 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -25,6 +25,7 @@
#include <dlfcn.h>
#include <errno.h>
#include <grp.h>
+#include <limits.h>
#include <netdb.h>
#include <pwd.h>
#include <sys/types.h>
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
index 13178af6e43..8e3461dfc7b 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp
@@ -10,6 +10,7 @@
#include "DWARFDebugAranges.h"
#include <assert.h>
+#include <stdio.h>
#include <algorithm>
OpenPOWER on IntegriCloud