diff --git a/daemon/src/video/socket_pair.cpp b/daemon/src/video/socket_pair.cpp index d91cac80aae3fc51c101da65c60981dfd0eebde1..01e3514b9f5fe82e19d70616baa42f7c7f0038b7 100644 --- a/daemon/src/video/socket_pair.cpp +++ b/daemon/src/video/socket_pair.cpp @@ -43,6 +43,10 @@ #include <sys/socket.h> #include <netdb.h> +#if defined(__ANDROID__) && !defined(SOCK_NONBLOCK) +#include <asm-generic/fcntl.h> +# define SOCK_NONBLOCK O_NONBLOCK +#endif namespace {