Skip to content

Commit

Permalink
Add missing includes for Android
Browse files Browse the repository at this point in the history
Add platform specific includes for `prctl` and `PR_GET_NAME` on Android.

Signed-off-by: Mykhailo Diachenko <[email protected]>
  • Loading branch information
diachenko-mischa committed Aug 1, 2024
1 parent bc9a2b0 commit 1c0ea80
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
#include "JniClassCache.h"

#include <pthread.h>
/* Definition of PR_* constants */
#include <linux/prctl.h>
/* Declaration of prctl */
#include <sys/prctl.h>

namespace
{
Expand Down

0 comments on commit 1c0ea80

Please sign in to comment.