* src/stream_output/announce.c: msvc compilation fix.
authorGildas Bazin <gbazin@videolan.org>
Thu, 26 Jun 2003 16:04:36 +0000 (16:04 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 26 Jun 2003 16:04:36 +0000 (16:04 +0000)
src/stream_output/announce.c

index 61eaeeb..14fb630 100644 (file)
@@ -28,7 +28,9 @@
 #include <stdio.h>                                              /* sprintf() */
 #include <string.h>                                            /* strerror() */
 
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+#   include <unistd.h>
+#endif
 
 #include <vlc/vlc.h>