From 69ddcc175f85f92f3cb870c45d27b446c767efd0 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 7 May 2018 10:47:00 +0900 Subject: [PATCH] bitwriter: Fix build error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix implicit-function-declaration warning for meemst and memcpy gstbitwriter.h:166:3: error: implicit declaration of function ‘memset’ memset (bitwriter->data + clear_pos, 0, (new_bit_size >> 3) - clear_pos); ^ https://bugzilla.gnome.org/show_bug.cgi?id=795867 --- libs/gst/base/gstbitwriter.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/gst/base/gstbitwriter.h b/libs/gst/base/gstbitwriter.h index 9e0b7c8..e647e94 100644 --- a/libs/gst/base/gstbitwriter.h +++ b/libs/gst/base/gstbitwriter.h @@ -26,6 +26,8 @@ #include #include +#include + G_BEGIN_DECLS #define GST_BIT_WRITER_DATA(writer) ((writer)->data) -- 2.7.4