diff --git a/src/stream_output/announce.c b/src/stream_output/announce.c index 61eaeeb31ee8d41b61653bcd5f00a0bbc6bc6c73..14fb630f4d7090e145b9b7377a3a126ebce5dd96 100644 --- a/src/stream_output/announce.c +++ b/src/stream_output/announce.c @@ -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>