Add _XOPEN_SOURCE definition for usleep().
authorDave Yeo <daveryeo@telus.net>
Mon, 23 Aug 2010 21:12:34 +0000 (21:12 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 23 Aug 2010 21:12:34 +0000 (21:12 +0000)
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 24893 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index efc079b..56b39d2 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#define _XOPEN_SOURCE 600
+
 #include "config.h"
 #include <inttypes.h>
 #include <math.h>