changeset 3936:6154f62ef652 libavformat

include sys/select.h instead of unistd.h to get select, according to posix 2001, fix compilation on freebsd 5.5
author bcoudurier
date Wed, 24 Sep 2008 22:08:50 +0000
parents d30c8469093d
children c0667b2aa3ab
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Wed Sep 24 18:55:00 2008 +0000
+++ b/rtsp.c	Wed Sep 24 22:08:50 2008 +0000
@@ -26,7 +26,7 @@
 #include "avformat.h"
 
 #include <sys/time.h>
-#include <unistd.h> /* for select() prototype */
+#include <sys/select.h>
 #include <strings.h>
 #include "network.h"
 #include "rtsp.h"