mirror of https://github.com/BOINC/boinc.git
Fixed shmem functions to compile on Solaris.
svn path=/trunk/boinc/; revision=53
This commit is contained in:
parent
a5cc5f66f2
commit
c4966874a4
|
@ -62,7 +62,7 @@ int detach_shmem(key_t key) {
|
|||
|
||||
retval = attach_shmem(key, &p);
|
||||
if (retval) return retval;
|
||||
retval = shmdt(p);
|
||||
retval = shmdt((char *)p);
|
||||
if (retval) perror("detach_shmem: shmdt");
|
||||
return retval;
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "shmem.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue