> shmctl(2)/shmget(2)/shmat(2) all document
> 
> #include <sys/types.h>
> #include <sys/ipc.h>
> #include <sys/shm.h>
> 
> as a requirement for calling these functions.

That was my first thought, but according to
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_ipc.h.html
``The <sys/ipc.h> header shall define the uid_t, gid_t, mode_t and key_t
types as described in <sys/types.h>'', which is currently not the case.

Reply via email to