From d250e3a81b9186008fb8e6f3c169a227d463ed05 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 13 Apr 2024 02:23:58 +0200 Subject: [PATCH] fix(wl): add missing header for non-glibc after ee5bf816d1f7 como/xwl/socket.cpp:124:9: error: use of undeclared identifier 'close' close(fd); ^ como/xwl/socket.cpp:129:9: error: use of undeclared identifier 'close' close(fd); ^ como/xwl/socket.cpp:155:44: error: use of undeclared identifier 'getuid' if (info.st_uid != 0 && info.st_uid != getuid()) { ^ como/xwl/socket.cpp:184:17: error: use of undeclared identifier 'close' close(fd); ^ como/xwl/socket.cpp:223:9: error: use of undeclared identifier 'close' close(fd); ^ --- como/xwl/socket.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/como/xwl/socket.cpp b/como/xwl/socket.cpp index 6529f51bc..37cf5705f 100644 --- a/como/xwl/socket.cpp +++ b/como/xwl/socket.cpp @@ -14,6 +14,7 @@ SPDX-License-Identifier: GPL-2.0-or-later #include #include #include +#include namespace como::xwl {