浏览代码

UI: Fix build with Clang and libc++

std::bind conflicts with extern int bind defined in socket.h

Signed-off-by: James Beddek <[email protected]>
James Beddek 4 年之前
父节点
当前提交
5fccf86b07
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      UI/platform-x11.cpp

+ 3 - 1
UI/platform-x11.cpp

@@ -48,7 +48,9 @@
 #include <thread>
 #include <thread>
 #endif
 #endif
 
 
-using namespace std;
+using std::string;
+using std::vector;
+using std::ostringstream;
 
 
 #ifdef __linux__
 #ifdef __linux__
 void RunningInstanceCheck(bool &already_running)
 void RunningInstanceCheck(bool &already_running)