37 lines
989 B
Diff
37 lines
989 B
Diff
From: Javier Viguera <javier.viguera@digi.com>
|
|
Date: Thu, 2 Jan 2020 16:49:51 +0100
|
|
Subject: [PATCH] imx-gst1.0-plugin: fix build using MUSL C library
|
|
|
|
Upstream-Status: Inappropriate [DEY specific]
|
|
|
|
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
|
---
|
|
tools/gplay2/gplay2.c | 1 -
|
|
tools/grecorder/grecorder.c | 1 +
|
|
2 files changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/gplay2/gplay2.c b/tools/gplay2/gplay2.c
|
|
index 9e406b9..ae193b7 100755
|
|
--- a/tools/gplay2/gplay2.c
|
|
+++ b/tools/gplay2/gplay2.c
|
|
@@ -26,7 +26,6 @@
|
|
*/
|
|
|
|
|
|
-#include <termio.h>
|
|
#include <unistd.h>
|
|
#include <pthread.h>
|
|
#include <stdio.h>
|
|
diff --git a/tools/grecorder/grecorder.c b/tools/grecorder/grecorder.c
|
|
index c315605..ee772b0 100644
|
|
--- a/tools/grecorder/grecorder.c
|
|
+++ b/tools/grecorder/grecorder.c
|
|
@@ -27,6 +27,7 @@
|
|
#include <unistd.h>
|
|
#include <glib.h>
|
|
#define __USE_LARGEFILE64
|
|
+#define _GNU_SOURCE # For MUSL statvfs64
|
|
#include <sys/statvfs.h>
|
|
|
|
#include "recorder_engine.h"
|