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

Commit b3c4a0bb authored by Nick Kralevich's avatar Nick Kralevich
Browse files

ZygoteInit: use correct header files.

Don't define capget / capset when we already have definitions
of it in our header files.

Change-Id: Ia2d7e408879bd09019f99aef52acb63a7a243d48
parent 7b69e401
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -27,12 +27,8 @@
#include <JNIHelp.h>
#include "android_runtime/AndroidRuntime.h"

#include <linux/capability.h>
#include <linux/prctl.h>
#include <sys/capability.h>
#include <sys/prctl.h>
extern "C" int capget(cap_user_header_t hdrp, cap_user_data_t datap);
extern "C" int capset(cap_user_header_t hdrp, const cap_user_data_t datap);


namespace android {