]> git.sesse.net Git - vlc/commitdiff
test: Fix meta.c test building.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 21 May 2009 05:01:06 +0000 (22:01 -0700)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 21 May 2009 05:05:58 +0000 (22:05 -0700)
test/libvlc/meta.c

index f2e5963d9291a18eaac06ebd64d4a0f098227bd7..3743733ee5d05bd0212971b058216eeeb82592cd 100644 (file)
@@ -22,6 +22,8 @@
  *  http://www.gnu.org/copyleft/gpl.html                              *
  **********************************************************************/
 
+#include <strings.h>
+
 #include "test.h"
 
 static void test_meta (const char ** argv, int argc)
@@ -51,7 +53,7 @@ static void test_meta (const char ** argv, int argc)
     while (!libvlc_media_is_preparsed (media, &ex))
     {
         catch ();
-        msleep (10000);
+        usleep (10000);
     }
 
     artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex);