[MPlayer-dev-eng] [PATCH] fix compiler warnings in mga_vid_test.c

Tore Anderson tore at linpro.no
Fri May 31 12:22:44 CEST 2002


When compiling mga_vid_test.c, memcpy() is subject to an implicit
declaration. The attached patch fixes it.

--- mga_vid_test.c.orig Fri May 31 12:15:21 2002
+++ mga_vid_test.c      Fri May 31 12:18:19 2002
@@ -17,6 +17,7 @@
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <inttypes.h>
+#include <string.h>
 #include "mga_vid.h"
 
 mga_vid_config_t config;

Regards,
-- 
Tore Anderson



More information about the MPlayer-dev-eng mailing list