Skip to content

Commit

Permalink
fix(wl): add missing header for non-glibc after ee5bf81
Browse files Browse the repository at this point in the history
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);
        ^
  • Loading branch information
jbeich committed Apr 13, 2024
1 parent 9839712 commit 3763e9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions como/xwl/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <unistd.h>

namespace como::xwl
{
Expand Down

0 comments on commit 3763e9c

Please sign in to comment.