]> git.sesse.net Git - vlc/blobdiff - test/libvlc/meta.c
test: Fix meta.c test building.
[vlc] / 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);