Index: channels/chan_oss.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_oss.c,v retrieving revision 1.44 diff -u -r1.44 chan_oss.c --- channels/chan_oss.c 24 Mar 2005 00:55:40 -0000 1.44 +++ channels/chan_oss.c 24 Mar 2005 08:05:43 -0000 @@ -34,7 +34,24 @@ #include #include #include -#include + +#if defined( __OpenBSD__ ) +# include +#elif defined( __FreeBSD__ ) || defined( __NetBSD__ ) +# include +#elif defined( BSD ) && ( BSD >= 199103 ) || defined(__APPLE__) +# include +#elif defined ( SOLARIS ) +# include +#elif defined( __GNUC__ ) || defined( __GNU_LIBRARY__ ) +# include +#if !defined(__APPLE__) +# include +#endif +#elif defined( linux ) +# include +#endif + #ifdef __linux #include #elif defined(__FreeBSD__)