[Lldb-commits] [lldb] r142753 - in /lldb/trunk: include/lldb/Core/FormatNavigator.h tools/debugserver/source/PseudoTerminal.cpp

Benjamin Kramer benny.kra at googlemail.com
Sun Oct 23 09:31:38 PDT 2011


Author: d0k
Date: Sun Oct 23 11:31:38 2011
New Revision: 142753

URL: http://llvm.org/viewvc/llvm-project?rev=142753&view=rev
Log:
Remove unused include of deprecated header.

Modified:
    lldb/trunk/include/lldb/Core/FormatNavigator.h
    lldb/trunk/tools/debugserver/source/PseudoTerminal.cpp

Modified: lldb/trunk/include/lldb/Core/FormatNavigator.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/FormatNavigator.h?rev=142753&r1=142752&r2=142753&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/FormatNavigator.h (original)
+++ lldb/trunk/include/lldb/Core/FormatNavigator.h Sun Oct 23 11:31:38 2011
@@ -16,19 +16,6 @@
 #include <unistd.h>
 
 // C++ Includes
-
-#ifdef __GNUC__
-#include <ext/hash_map>
-
-namespace std
-{
-    using namespace __gnu_cxx;
-}
-
-#else
-#include <hash_map>
-#endif
-
 #include <map>
 
 // Other libraries and framework includes

Modified: lldb/trunk/tools/debugserver/source/PseudoTerminal.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/PseudoTerminal.cpp?rev=142753&r1=142752&r2=142753&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/PseudoTerminal.cpp (original)
+++ lldb/trunk/tools/debugserver/source/PseudoTerminal.cpp Sun Oct 23 11:31:38 2011
@@ -14,6 +14,7 @@
 #include "PseudoTerminal.h"
 #include <stdlib.h>
 #include <sys/ioctl.h>
+#include <unistd.h>
 
 //----------------------------------------------------------------------
 // PseudoTerminal constructor





More information about the lldb-commits mailing list