Vanilla Clients Maling Clients Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-CLIENTS:65] bgsndplay



>Okay, so I removed the termio.h line from bgsndplay.au.c and then, when
>I gmake au it, I get this error:
>bgsndplay.au.c: In function `play':
>bgsndplay.au.c:222: `errno' undeclared (first use this function)
>bgsndplay.au.c:222: (Each undeclared identifier is reported only once
>bgsndplay.au.c:222: for each function it appears in.)
>bgsndplay.au.c:222: `EINTR' undeclared (first use this function)
>gmake: *** [bgsndplay.au] Error 1
>
>Any suggestions?


You'll just need to add '#include <errno.h>'.

errno is the global variable used for error codes and EINTR will
(probably) be defined as a possible code. It's ANSI C I think
some compilers include it by default.

-- 
Jonathan Paisley