Merge "<sys/shm.h>: fix a hard-coded 4096 page size." into main
This commit is contained in:
commit
2f526fb4d1
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