On 11/08/13 17:32, Trevor Bramwell wrote: > Dear man-page maintainers, > > I believe I found a bug in the PIPE(2) example code. > > When trying to compile the example code, the following error was thrown: > > pipes.c: In function ‘main’: > pipes.c:10:5: error: unknown type name ‘pid_t’ > pid_t cpid; > ^ > After adding the line: > > #include <sys/types.h> > > The example compiled fine. > > I compiled with: > > gcc -Wall -std=c99 > > Attached is a patch that append the line to include sys/types.h. > --- > manpage-version: 3.54-1 > gcc-version: gcc (Debian 4.8.2-1) 4.8.2 > > Let me know if you need any more info, or if this is not truly a bug. Trevor, Did I reply to this mail message already? I did apply your patch. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html