Merge pull request #64 from george-hopkins/ioc-size

[gbinder] Include definition of _IOC_SIZE. JB#42254
This commit is contained in:
Slava Monich 2021-04-20 12:49:15 +03:00 committed by GitHub
commit 3c2cd5d599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <linux/ioctl.h>
/* BINDER_VM_SIZE copied from native/libs/binder/ProcessState.cpp */
#define BINDER_VM_SIZE ((1024*1024) - sysconf(_SC_PAGE_SIZE)*2)