File: 0002-UHDSoapyDevice-Add-cctype-header-needed-for-std-isdi.patch

package info (click to toggle)
soapyuhd 0.4.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 596 kB
  • sloc: cpp: 1,758; makefile: 12
file content (25 lines) | stat: -rw-r--r-- 703 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
25
From 4aab89773e3cf95b548a6bf15a465b25ddd33bd5 Mon Sep 17 00:00:00 2001
From: Ryan Volz <ryan.volz@gmail.com>
Date: Thu, 15 Oct 2020 10:14:58 -0400
Subject: [PATCH 02/12] UHDSoapyDevice: Add <cctype> header needed for
 std::isdigit.

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

diff --git a/UHDSoapyDevice.cpp b/UHDSoapyDevice.cpp
index 20e4a5c..3ce66f3 100644
--- a/UHDSoapyDevice.cpp
+++ b/UHDSoapyDevice.cpp
@@ -39,6 +39,7 @@
 #include <boost/algorithm/string.hpp>
 
 #include <algorithm>
+#include <cctype>
 
 //Report a positive gain step value for UHD's automatic distribution algorithm.
 //This prevents the gain group rounding algorithm from producing zero values.
-- 
2.47.3