From: Christophe de Dinechin <dinec...@redhat.com>

Without this, clang emits among others:

spice-streaming-agent.cpp:355:31: error: implicit instantiation of undefined 
template 'std::__1::basic_string<char, std::__1::char_traits<char>, 
std::__1::allocator<char> >'
    streamfd = open(streamport.c_str(), O_RDWR);
                              ^

Signed-off-by: Christophe de Dinechin <dinec...@redhat.com>
---
 src/spice-streaming-agent.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index f4fee2d..a43a52c 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -22,6 +22,7 @@
 #include <mutex>
 #include <thread>
 #include <vector>
+#include <string>
 #include <functional>
 #include <X11/Xlib.h>
 #include <X11/extensions/Xfixes.h>
-- 
2.13.5 (Apple Git-94)

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to