From f0690e19ea6753d7b360a8bc26350d2ec44a13ba Mon Sep 17 00:00:00 2001 From: Sébastien Moutte Date: Thu, 7 Feb 2008 19:13:56 +0000 Subject: gst/rtsp/gstrtspsrc.c: Include unistd.h only if HAVE_UNISTD_H is defined Original commit message from CVS: * gst/rtsp/gstrtspsrc.c: Include unistd.h only if HAVE_UNISTD_H is defined * win32/common/config.h.in: * win32/common/config.h: Define socklen_t as it seems it's not defined in default Visual Studio headers. * win32/vs6/libgstalpha.dsp: * win32/vs6/libgstapetag.dsp: * win32/vs6/libgstavi.dsp: * win32/vs6/libgstrtp.dsp: * win32/vs6/libgstrtsp.dsp: * win32/vs6/libgstvideomixer.dsp: Update project file dependencies and add new source files --- win32/common/config.h | 5 +++++ win32/common/config.h.in | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'win32/common') diff --git a/win32/common/config.h b/win32/common/config.h index 7f21b658..8776b8e7 100644 --- a/win32/common/config.h +++ b/win32/common/config.h @@ -274,3 +274,8 @@ /* Define to 1 if the X Window System is missing or not being used. */ /* #undef X_DISPLAY_MISSING */ + +/* Define socklen_t as it seems to be not defined in default VS setup */ +#ifndef socklen_t +typedef int socklen_t; +#endif \ No newline at end of file diff --git a/win32/common/config.h.in b/win32/common/config.h.in index 554197e5..21b60390 100644 --- a/win32/common/config.h.in +++ b/win32/common/config.h.in @@ -274,3 +274,8 @@ /* Define to 1 if the X Window System is missing or not being used. */ /* #undef X_DISPLAY_MISSING */ + +/* Define socklen_t as it seems to be not defined in default VS setup */ +#ifndef socklen_t +typedef int socklen_t; +#endif \ No newline at end of file -- cgit