From af1d0f6a4b003d30960dfb55d6bdb7dd6c61f97e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Apr 2022 17:43:47 +0100 Subject: Slim down the globally included files. --- src/threadsocket.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/threadsocket.cpp') diff --git a/src/threadsocket.cpp b/src/threadsocket.cpp index 419dec66f..a1448fbce 100644 --- a/src/threadsocket.cpp +++ b/src/threadsocket.cpp @@ -75,6 +75,10 @@ SocketThread::SocketThread() } #else +# ifdef _WIN32 +# define pipe(fd) _pipe(fd, 1, 0) +# endif + class ThreadSignalSocket final : public EventHandler { -- cgit v1.3.1-10-gc9f91