--- src/wavfile.c.orig Sun Oct 31 08:36:45 2004 +++ src/wavfile.c Thu Dec 16 01:18:54 2004 @@ -41,7 +41,7 @@ * wavplay project. */ -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) static const char rcsid[] = "@(#)wavfile.c $Revision: 1.6 $"; @@ -52,7 +52,9 @@ #include #include #include +#if defined(__linux__) #include +#endif #include #include #include @@ -60,7 +62,12 @@ #include #include #include +#if defined(__linux__) #include +#endif +#if defined(__FreeBSD__) +#include +#endif