mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
fix for broken sunos4 includes (doesn't have SHM_R)
(This used to be commit 6ca96782ace2258707f49d204726a00baef9d941)
This commit is contained in:
parent
c79e0abdd7
commit
9c717c285a
@ -33,7 +33,11 @@ extern int DEBUGLEVEL;
|
||||
#define SHM_MAGIC 0x53484100
|
||||
#define SHM_VERSION 2
|
||||
|
||||
#ifdef SHM_R
|
||||
#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
|
||||
#else
|
||||
#define IPC_PERMS 0644
|
||||
#endif
|
||||
|
||||
static int shm_id;
|
||||
static int sem_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user