$NetBSD: patch-ah,v 1.2 1998/08/07 10:36:10 agc Exp $ --- snd.orig/snd-file.c Tue Feb 10 15:42:41 1998 +++ snd-file.c Sun Feb 22 02:11:57 1998 @@ -15,6 +15,11 @@ #include #endif +#if defined (__NetBSD__) + #include + #include +#endif + #ifdef BEOS int disk_kspace (int fd) {return(1234567);} time_t file_write_date(char *filename) {return(1234567);} @@ -26,7 +31,7 @@ #if defined(SGI) || defined(SCO5) || defined(UW2) || defined(SOLARIS) err = fstatfs(fd,&buf,sizeof(buf),0); #endif -#if defined(LINUX) || defined(NEXT) +#if defined(LINUX) || defined(NEXT) || defined(__NetBSD__) err = fstatfs(fd,&buf); #endif /* in 32 bit land, the number of bytes can easily go over 2^32, so we'll look at kbytes here */