Even more missing unistd.h includes.
[cubemap] / udpinput.cpp
index cd66f16debff02b6edf6426c136b84a46a1bf7d6..6537035bb842e4e8cc3fe09ac30d9c187e4c6c7d 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/poll.h>
@@ -45,6 +46,7 @@ UDPInput::UDPInput(const InputProto &serialized)
 InputProto UDPInput::serialize() const
 {
        InputProto serialized;
+       serialized.set_stream_id(stream_id);
        serialized.set_url(url);
        serialized.set_sock(sock);
        return serialized;