From 6a24469ee5999c617d3011680e3bbd5f2709f21f Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Tue, 25 May 2021 19:12:59 +0300
Subject: [PATCH 31/43] Fix mjpegtools-2.1.0.patch6 for conditional bthread.h
 include

---
 cinelerra-5.1/thirdparty/src/mjpegtools-2.1.0.patch6 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/cinelerra-5.1/thirdparty/src/mjpegtools-2.1.0.patch6 b/cinelerra-5.1/thirdparty/src/mjpegtools-2.1.0.patch6
index 42fed77d..d2d92f81 100644
--- a/cinelerra-5.1/thirdparty/src/mjpegtools-2.1.0.patch6
+++ b/cinelerra-5.1/thirdparty/src/mjpegtools-2.1.0.patch6
@@ -1,10 +1,12 @@
---- mjpegtools-2.1.0/mpeg2enc/seqencoder.cc	2010-10-17 19:19:48.000000000 +0400
-+++ mjpegtools-2.1.0/mpeg2enc/seqencoder.cc	2021-05-23 09:24:18.791050651 +0300
-@@ -56,6 +56,7 @@
+--- mjpegtools-2.1.0/mpeg2enc/seqencoder.cc.orig	2021-05-25 19:04:26.332933944 +0300
++++ mjpegtools-2.1.0/mpeg2enc/seqencoder.cc	2021-05-25 19:05:44.904933948 +0300
+@@ -56,6 +56,9 @@
  #include "ratectl.hh"
  #include "tables.h"
  #include "channel.hh"
++#if defined(__TERMUX__)
 +#include "bthread.h"
++#endif
  
  
  // --------------------------------------------------------------------------------
-- 
2.32.0

