[Libreoffice-commits] online.git: net/FakeSocket.cpp net/FakeSocket.hpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 16 20:57:09 UTC 2018
net/FakeSocket.cpp | 2 ++
net/FakeSocket.hpp | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit e9d0b38103c56a3b331d3f9842afda3d66060cc5
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Oct 16 23:56:46 2018 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Oct 16 23:56:46 2018 +0300
Add some includes that are missing if compiling this on Linux
Change-Id: Iffe3481e56842f29f0e7838ca024b28e1f7187f3
diff --git a/net/FakeSocket.cpp b/net/FakeSocket.cpp
index 82d221cf4..639b12db0 100644
--- a/net/FakeSocket.cpp
+++ b/net/FakeSocket.cpp
@@ -11,9 +11,11 @@
#include <fcntl.h>
#include <poll.h>
+#include <cassert>
#include <chrono>
#include <condition_variable>
#include <cstdlib>
+#include <cstring>
#include <iostream>
#include <sstream>
#include <mutex>
diff --git a/net/FakeSocket.hpp b/net/FakeSocket.hpp
index c29195ddb..5b02f507f 100644
--- a/net/FakeSocket.hpp
+++ b/net/FakeSocket.hpp
@@ -12,6 +12,8 @@
#ifdef MOBILEAPP
+#include <string>
+
#include <poll.h>
#ifndef SOCK_NONBLOCK
More information about the Libreoffice-commits
mailing list