1
0
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:
Andrew Tridgell 1997-10-28 14:59:06 +00:00
parent c79e0abdd7
commit 9c717c285a

View File

@ -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;