From b13e2d6c3a525918ed0816c41433509477c9912a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 9 Dec 2005 06:25:59 +0000 Subject: updated things for the new build system while maintaining backwords compatibilty svn path=/trunk/externals/unauthorized/; revision=4173 --- speex~/speexout~.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'speex~/speexout~.c') diff --git a/speex~/speexout~.c b/speex~/speexout~.c index c6968d9..2d2c104 100644 --- a/speex~/speexout~.c +++ b/speex~/speexout~.c @@ -47,7 +47,12 @@ #include #endif #include -#ifdef UNIX +#ifdef WIN32 +#include +#include +#include +#include +#else #include #include #include @@ -55,11 +60,10 @@ #include #include #define SOCKET_ERROR -1 -#else -#include -#include -#include -#include +#endif + +#if defined(__APPLE__) || defined(WIN32) +#define MSG_NOSIGNAL 0 #endif #include /* speex codec stuff */ -- cgit v1.2.1