summaryrefslogtreecommitdiffstats
path: root/win32/common
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2008-02-07 19:13:56 +0000
committerSébastien Moutte <sebastien@moutte.net>2008-02-07 19:13:56 +0000
commitf0690e19ea6753d7b360a8bc26350d2ec44a13ba (patch)
tree15e28f12870e7165f594272e17b9708de6555cf1 /win32/common
parent639b1183b4ef36d02c435a659ab3c755d06b9f0d (diff)
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
Diffstat (limited to 'win32/common')
-rw-r--r--win32/common/config.h5
-rw-r--r--win32/common/config.h.in5
2 files changed, 10 insertions, 0 deletions
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