فهرست منبع

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>
 #endif
 
-using namespace std;
+using std::string;
+using std::vector;
+using std::ostringstream;
 
 #ifdef __linux__
 void RunningInstanceCheck(bool &already_running)