> Unfortunately it doesn't allow us to make everything in <sys/types.h> > available though. So simply including <sys/types.h> from <sys/ipc.h> > isn't the right solution.
Good point, I didn't notice that, I was just testing sys/shm.h based on what POSIX 2008 specification says and detected that this isn't working as it should.