glmixer: Include string.h for memset()
authorSebastian Dröge <sebastian@centricular.com>
Sat, 5 May 2018 15:47:55 +0000 (17:47 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 5 May 2018 15:48:30 +0000 (17:48 +0200)
gstglmixer.c:143:5: error: implicit declaration of function ‘memset’ [-Werror=implicit-function-declaration]
     memset (prepared_frame, 0, sizeof (GstVideoFrame));
     ^~~~~~
gstglmixer.c:143:5: error: incompatible implicit declaration of built-in function ‘memset’ [-Werror]

ext/gl/gstglmixer.c

index a7d2240..b4602ea 100644 (file)
@@ -26,6 +26,8 @@
 #include <gst/gst.h>
 #include <gst/video/video.h>
 
+#include <string.h>
+
 #include "gstglmixer.h"
 
 #define gst_gl_mixer_parent_class parent_class