[Lldb-commits] [lldb] r125031 - in /lldb/trunk: include/lldb/Core/FileSpec.h source/Core/FileSpec.cpp
Jim Ingham
jingham at apple.com
Mon Feb 7 11:42:40 PST 2011
Author: jingham
Date: Mon Feb 7 13:42:39 2011
New Revision: 125031
URL: http://llvm.org/viewvc/llvm-project?rev=125031&view=rev
Log:
Include Config.h so we can get "~" resolved.
Modified:
lldb/trunk/include/lldb/Core/FileSpec.h
lldb/trunk/source/Core/FileSpec.cpp
Modified: lldb/trunk/include/lldb/Core/FileSpec.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/FileSpec.h?rev=125031&r1=125030&r2=125031&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/FileSpec.h (original)
+++ lldb/trunk/include/lldb/Core/FileSpec.h Mon Feb 7 13:42:39 2011
@@ -15,6 +15,7 @@
#include "lldb/Core/ConstString.h"
#include "lldb/Core/STLUtils.h"
#include "lldb/Host/TimeValue.h"
+#include "lldb/Host/Config.h"
namespace lldb_private {
Modified: lldb/trunk/source/Core/FileSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/FileSpec.cpp?rev=125031&r1=125030&r2=125031&view=diff
==============================================================================
--- lldb/trunk/source/Core/FileSpec.cpp (original)
+++ lldb/trunk/source/Core/FileSpec.cpp Mon Feb 7 13:42:39 2011
@@ -13,13 +13,13 @@
#include <libgen.h>
#include <sys/stat.h>
#include <string.h>
+#include <fstream>
+#include "lldb/Host/Config.h" // Have to include this before we test the define...
#if LLDB_CONFIG_TILDE_RESOLVES_TO_USER
#include <pwd.h>
#endif
-#include <fstream>
-
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
More information about the lldb-commits
mailing list