On Sat, Mar 19, 2005 at 04:42:49PM +0100, Daniel Kobras wrote:
> On Sat, Mar 19, 2005 at 12:59:16PM +0000, Andrew Suffield wrote:
> > /usr/include/af_vfs.h uses ssize_t, but doesn't include <sys/types.h>,
> > so it will fail to compile if nothing has included that first.
> 
> It also needs the typedef for AFvirtualfile from audiofile.h, which in
> turn includes <sys/types.h>. Therefore, if anything, I'd rather add to
> af_vfs.h something like
> 
> #ifndef AUDIOFILE_H
> #error You need to #include <audiofile.h> before <af_vfs.h>.
> #endif
> 
> Do you agree?

Kinda unhelpful. It would be simpler and more useful to just add:

#include <audiofile.h>

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature

Reply via email to