diff options
author | Sébastien Moutte <sebastien@moutte.net> | 2008-02-07 19:13:56 +0000 |
---|---|---|
committer | Sébastien Moutte <sebastien@moutte.net> | 2008-02-07 19:13:56 +0000 |
commit | f0690e19ea6753d7b360a8bc26350d2ec44a13ba (patch) | |
tree | 15e28f12870e7165f594272e17b9708de6555cf1 /gst/rtsp | |
parent | 639b1183b4ef36d02c435a659ab3c755d06b9f0d (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 'gst/rtsp')
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index f693dd88..4883d5e3 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -89,7 +89,9 @@ #include "config.h" #endif +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif /* HAVE_UNISTD_H */ #include <stdlib.h> #include <string.h> #include <locale.h> |