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

Commit aee4e9d7 authored by James Robinson's avatar James Robinson
Browse files

Use local copy of vm_sockets.h on non-Trusty for portability

This uses binder's copy of the vm_sockets.h header for the definition of
vsock types and constants. This header is more portable as it works on
non-bionic based Linux systems and non-Linux systems that use compatible
types and constants.

Change-Id: I95171de08726754578ba00b4fb19524b9140afdb
parent a92a88f6
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -23,11 +23,8 @@

#ifndef __TRUSTY__
#include <cutils/sockets.h>
#endif

#ifdef __linux__
#include <linux/vm_sockets.h>
#endif // __linux__
#include "vm_sockets.h"
#endif  // !__TRUSTY__

using android::OK;
using android::RpcServer;