#include <vlc_network.h>
#include <vlc_sout.h>
+#include <vlc_fs.h>
#include "rtp.h"
#include <assert.h>
{
/* RTP/RTCP mux: duplicate the socket */
#ifndef WIN32
- fd = dup (rtp_fd);
+ fd = vlc_dup (rtp_fd);
#elif defined(UNDER_CE)
#warning Muxed RTP/RTCP unimplemented!
fd = -1;