Re: Missing include in sys/ipc.h

2014-11-15 Thread Philip Guenther
On Thu, Nov 13, 2014 at 10:31 PM, Brad Smith wrote: > ping. Discussion died out. Can we please move this issue forward? It's in Philip

Re: Missing include in sys/ipc.h

2014-11-13 Thread Brad Smith
On 09/20/14 15:34, Philip Guenther wrote: On Sat, Sep 20, 2014 at 11:28 AM, Mark Kettenis wrote: Date: Sat, 20 Sep 2014 18:15:31 + From: Miod Vallat shmctl(2)/shmget(2)/shmat(2) all document #include #include #include as a requirement for calling these functions. That was my first

Re: Missing include in sys/ipc.h

2014-09-26 Thread Ted Unangst
On Sun, Sep 21, 2014 at 16:20, Mark Kettenis wrote: >> Date: Sat, 20 Sep 2014 12:34:42 -0700 >> From: Philip Guenther >> >> On Sat, Sep 20, 2014 at 11:28 AM, Mark Kettenis > wrote: >> >> Date: Sat, 20 Sep 2014 18:15:31 + >> >> From: Miod Vallat >> >> >> >> > shmctl(2)/shmget(2)/shmat(2) all

Re: Missing include in sys/ipc.h

2014-09-21 Thread Mark Kettenis
> Date: Sat, 20 Sep 2014 12:34:42 -0700 > From: Philip Guenther > > On Sat, Sep 20, 2014 at 11:28 AM, Mark Kettenis > wrote: > >> Date: Sat, 20 Sep 2014 18:15:31 + > >> From: Miod Vallat > >> > >> > shmctl(2)/shmget(2)/shmat(2) all document > >> > > >> > #include > >> > #include > >> > #

Re: Missing include in sys/ipc.h

2014-09-20 Thread Philip Guenther
On Sat, Sep 20, 2014 at 11:28 AM, Mark Kettenis wrote: >> Date: Sat, 20 Sep 2014 18:15:31 + >> From: Miod Vallat >> >> > shmctl(2)/shmget(2)/shmat(2) all document >> > >> > #include >> > #include >> > #include >> > >> > as a requirement for calling these functions. >> >> That was my first

Re: Missing include in sys/ipc.h

2014-09-20 Thread Matti Karnaattu
> Unfortunately it doesn't allow us to make everything in > available though. So simply including from > 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.

Re: Missing include in sys/ipc.h

2014-09-20 Thread Matti Karnaattu
Oh, looks like man pages should be fixed too. There is no mention in POSIX 2008 that sys/types.h and sys/ipc.h should be included: http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmctl.html http://pubs.opengroup.org/onlinepubs/9699919799/functions/shmget.html http://pubs.opengroup.org/o

Re: Missing include in sys/ipc.h

2014-09-20 Thread Mark Kettenis
> Date: Sat, 20 Sep 2014 18:15:31 + > From: Miod Vallat > > > shmctl(2)/shmget(2)/shmat(2) all document > > > > #include > > #include > > #include > > > > as a requirement for calling these functions. > > That was my first thought, but according to > http://pubs.opengroup.org/onlinepubs

Re: Missing include in sys/ipc.h

2014-09-20 Thread Miod Vallat
> shmctl(2)/shmget(2)/shmat(2) all document > > #include > #include > #include > > 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 header shall define the uid_t, gid_t, mod

Re: Missing include in sys/ipc.h

2014-09-20 Thread Jonathan Gray
shmctl(2)/shmget(2)/shmat(2) all document #include #include #include as a requirement for calling these functions. On Sat, Sep 20, 2014 at 01:24:02PM +0300, Matti Karnaattu wrote: > Hello, > > I managed to get build error which was caused a missing include. > > test: > =

Missing include in sys/ipc.h

2014-09-20 Thread Matti Karnaattu
Hello, I managed to get build error which was caused a missing include. test: === #include int main(void) { return 0; } === And here is diff that fixes the bu