File: 0004-Add-include-cstring-for-strcmp-71.patch

package info (click to toggle)
soapyrtlsdr 0.3.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 396 kB
  • sloc: cpp: 1,238; makefile: 8
file content (24 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 068aa77a4c938b239c9d80cd42c4ee7986458e8f Mon Sep 17 00:00:00 2001
From: Precise <3824793+Mr-Precise@users.noreply.github.com>
Date: Thu, 7 Sep 2023 14:10:30 +0200
Subject: [PATCH 04/12] Add include cstring for strcmp (#71)

---
 Settings.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Settings.cpp b/Settings.cpp
index ec9a065..420ae1a 100644
--- a/Settings.cpp
+++ b/Settings.cpp
@@ -26,6 +26,7 @@
 #include "SoapyRTLSDR.hpp"
 #include <SoapySDR/Time.hpp>
 #include <algorithm>
+#include <cstring>
 
 SoapyRTLSDR::SoapyRTLSDR(const SoapySDR::Kwargs &args):
     deviceId(-1),
-- 
2.47.3