[Lldb-commits] [lldb] r192789 - Fix FreeBSD build after r192714 (Windows command line driver)

Ed Maste emaste at freebsd.org
Wed Oct 16 06:20:01 PDT 2013


Author: emaste
Date: Wed Oct 16 08:20:01 2013
New Revision: 192789

URL: http://llvm.org/viewvc/llvm-project?rev=192789&view=rev
Log:
Fix FreeBSD build after r192714 (Windows command line driver)

Modified:
    lldb/trunk/tools/driver/Platform.h

Modified: lldb/trunk/tools/driver/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Platform.h?rev=192789&r1=192788&r2=192789&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Platform.h (original)
+++ lldb/trunk/tools/driver/Platform.h Wed Oct 16 08:20:01 2013
@@ -97,12 +97,6 @@
 
 #else
 
-    #if defined(__FreeBSD__)
-        #include <readline/readline.h>
-    #else
-        #include <editline/readline.h>
-    #endif
-
     #include <inttypes.h>
 
     #include <getopt.h>
@@ -115,6 +109,12 @@
     #include <pthread.h>
     #include <sys/time.h>
 
+    #if defined(__FreeBSD__)
+        #include <readline/readline.h>
+    #else
+        #include <editline/readline.h>
+    #endif
+
 #endif
 
-#endif // lldb_Platform_h_
\ No newline at end of file
+#endif // lldb_Platform_h_





More information about the lldb-commits mailing list