diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-04-09 17:52:17 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-09 17:52:17 +0000 |
commit | 2f526fb4d1d9221fc06d72d71264e287192a5085 (patch) | |
tree | 6484658e69701126ba02c695465c9e3de8740f77 | |
parent | 252ed5704a08a2ec017d2e0811a27b350dcf84e7 (diff) | |
parent | f666d822bd8c835a1b3c6bf3446269ebccc02987 (diff) | |
download | bionic-2f526fb4d1d9221fc06d72d71264e287192a5085.tar.gz |
Merge "<sys/shm.h>: fix a hard-coded 4096 page size." into main
-rw-r--r-- | libc/include/sys/shm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/include/sys/shm.h b/libc/include/sys/shm.h index fb6f20cf4..8ab3d9ab9 100644 --- a/libc/include/sys/shm.h +++ b/libc/include/sys/shm.h @@ -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 |