Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a983bbf authored by Grace Cham's avatar Grace Cham
Browse files

floss: include <unistd.h> explicitly

It is removed from build/build_config.h from libchrome r950791 onwards.
For chown and close.

Bug: 231676446
Tag: #floss
Test: FEATURES=test emerge-hatch floss
Change-Id: I6dbbdd21c206a39eef8d05e31d7ae20382bc2b21
parent df45f778
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>

#include <cstdint>
#include <cstring>
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@

#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>

#include <cstdint>
#include <mutex>
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include <errno.h>
#include <grp.h>
#include <sys/stat.h>
#include <unistd.h>

#include <memory>