Merge "<sys/shm.h>: fix a hard-coded 4096 page size." into main am: 2f526fb4d1
Original change: https://android-review.googlesource.com/c/platform/bionic/+/3034233 Change-Id: Ia83a28d045b12645c944cba26321a29fa8311242 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
50188425b0
1 changed files with 2 additions and 1 deletions
|
@ -36,11 +36,12 @@
|
|||
#include <sys/cdefs.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <linux/shm.h>
|
||||
|
||||
#define shmid_ds shmid64_ds
|
||||
#define SHMLBA 4096
|
||||
#define SHMLBA getpagesize()
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue