From dc91981df729d9d76dc5733245250aec4c6368a0 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 24 Mar 2019 11:37:41 +0000 Subject: [PATCH] Problem: removing header from testutil.hpp breaks unittest build with gcc8 Solution: include unistd.h in unittest_poller.cpp --- unittests/unittest_poller.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/unittests/unittest_poller.cpp b/unittests/unittest_poller.cpp index ff60862a..8c9f35e2 100644 --- a/unittests/unittest_poller.cpp +++ b/unittests/unittest_poller.cpp @@ -26,6 +26,7 @@ along with this program. If not, see . #include #ifndef _WIN32 +#include #define closesocket close #endif