summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSébastien Moutte <sebastien@moutte.net>2008-02-07 21:02:19 +0000
committerSébastien Moutte <sebastien@moutte.net>2008-02-07 21:02:19 +0000
commit37915fa611ede3dbe8e6e2e70baafb49f5c216ea (patch)
treeebdb74dc34b4e4826b73e9062f3002807583e881 /ext
parentee15d7657dd5cfc133c794a44ab89535ab8d720e (diff)
downloadgst-plugins-bad-37915fa611ede3dbe8e6e2e70baafb49f5c216ea.tar.gz
gst-plugins-bad-37915fa611ede3dbe8e6e2e70baafb49f5c216ea.tar.bz2
gst-plugins-bad-37915fa611ede3dbe8e6e2e70baafb49f5c216ea.zip
ext\neon\gstneonhttpsrc.c: Include unistd.h only if _HAVE_UNISTD_H is defined
Original commit message from CVS: * ext\neon\gstneonhttpsrc.c: Include unistd.h only if _HAVE_UNISTD_H is defined * gst\mpegvideoparse\mpegvideoparse.c: Use G_GUINT64_CONSTANT GLIB macro for constant * sys\dshowsrcwrapper\gstdshowaudiosrc.c: * sys\dshowsrcwrapper\gstdshowvideosrc.c: * sys\dshowdecwrapper\gstdshowaudiodec.c: * sys\dshowdecwrapper\gstdshowaudiodec.h: * sys\dshowdecwrapper\gstdshowdecwrapper.c: * sys\dshowdecwrapper\gstdshowdecwrapper.h: * sys\dshowdecwrapper\gstdshowvideodec.c * sys\dshowdecwrapper\gstdshowvideodec.h: Add a DirectShow decoder wrapper. * win32\MANIFEST: Add new win32 files to MANIFEST * win32\vs6\gst_plugins_bad.dsw: * win32\vs6\libgstdshow.dsp: * win32\vs6\libgstdshowdecwrapper.dsp: * win32\vs6\libgstflv.dsp: Add new projects to bad workspace
Diffstat (limited to 'ext')
-rw-r--r--ext/neon/gstneonhttpsrc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c
index 1d3a22f0..aef0d69d 100644
--- a/ext/neon/gstneonhttpsrc.c
+++ b/ext/neon/gstneonhttpsrc.c
@@ -21,7 +21,9 @@
#include "gstneonhttpsrc.h"
#include <stdlib.h>
#include <string.h>
+#ifdef _HAVE_UNISTD_H
#include <unistd.h>
+#endif /* _HAVE_UNISTD_H */
#include <ne_redirect.h>