From cbc867455fc84c1d7abc3f1b5924c1bb17140f9e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 24 Jul 2008 00:32:37 +0000 Subject: gst/festival/gstfestival.c: Guard unistd.h with HAVE_UNISTD_H Original commit message from CVS: * gst/festival/gstfestival.c: Guard unistd.h with HAVE_UNISTD_H * gst/modplug/libmodplug/load_it.cpp: * gst/modplug/libmodplug/sndfile.cpp: * gst/modplug/libmodplug/sndfile.h: * gst/modplug/libmodplug/stdafx.h: Support for compiling with MSVC: use _MSC_VER for detecting MSVC instead of MSC_VER. Make CanPackSamples take the type it's passed. Change scope of a variable in load_it.cpp to MSVC's scoping rules. * gst/sdp/gstsdpdemux.c: Guard unistd.h with HAVE_UNISTD_H Fixes #544457. --- gst/sdp/gstsdpdemux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gst/sdp/gstsdpdemux.c') diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index 303452c8..be34a22a 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -47,7 +47,10 @@ #include "config.h" #endif +#ifdef HAVE_UNISTD_H #include +#endif + #include #include #include -- cgit v1.2.1