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

Commit cbca269d authored by Colin Cross's avatar Colin Cross
Browse files

Include sys/select.h for fd_set

socket.cpp fails to compile on musl with a missing definition of
fd_set.  Include sys/select.h for the definition.

Bug: 190084016
Test: m USE_HOST_MUSL=true fastboot
Change-Id: I095a56381a85981f42444f4c39ae8e7786d8640f
parent c5c532fc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -28,6 +28,10 @@

#include "socket.h"

#ifndef _WIN32
#include <sys/select.h>
#endif

#include <android-base/errors.h>
#include <android-base/stringprintf.h>