X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ipc.c;h=8e9dd51a2369e7e60ebd4bda3fa889eaed892248;hp=85013a636cb3a7f634d190d9044808454274efd8;hb=0c7c4d80673854527ce3c3786dd581169565b5e6;hpb=767a4a54c967bc4b80bd14d02e89fe91acd848dd diff --git a/ipc.c b/ipc.c index 85013a63..8e9dd51a 100644 --- a/ipc.c +++ b/ipc.c @@ -7,7 +7,6 @@ #include "ipc.h" #include #include -#include #include #include @@ -194,9 +193,8 @@ int shm_detach(void *addr) } # if defined __FreeBSD__ || defined __NetBSD__ +#include # define SYSCTL_SHMMAX_VARIABLE "kern.ipc.shmmax" -# elif defined __APPLE__ -# define SYSCTL_SHMMAX_VARIABLE "kern.sysv.shmmax" # else # undef SYSCTL_SHMMAX_VARIABLE # endif