pulseview: fix build

This commit is contained in:
Đoàn Trần Công Danh 2022-01-12 16:48:43 +07:00
parent 9a302ef189
commit 1f75bfe7fa
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
Index: pulseview-0.4.2/pv/data/decode/annotation.cpp
===================================================================
--- pulseview-0.4.2.orig/pv/data/decode/annotation.cpp
+++ pulseview-0.4.2/pv/data/decode/annotation.cpp
@@ -17,9 +17,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-extern "C" {
#include <libsigrokdecode/libsigrokdecode.h>
-}
#include <cassert>
#include <vector>
Index: pulseview-0.4.2/pv/views/trace/decodetrace.cpp
===================================================================
--- pulseview-0.4.2.orig/pv/views/trace/decodetrace.cpp
+++ pulseview-0.4.2/pv/views/trace/decodetrace.cpp
@@ -17,9 +17,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-extern "C" {
#include <libsigrokdecode/libsigrokdecode.h>
-}
#include <limits>
#include <mutex>