diff options
author | Ryan Volz <ryan.volz@gmail.com> | 2020-10-15 18:52:26 -0400 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-10-29 17:22:17 +0100 |
commit | cae088eb3ef5bc12844fbbd265363bfadec6a798 (patch) | |
tree | 35bc4b39280a82dc84c5d220a71552e57231cfd5 | |
parent | 3cbafe0de5f488162a929dad94aa2b99626eea44 (diff) |
audio: lib: windows: Add <cctype> header for std::isdigit.
Previously the header must have been pulled in by one of the Boost
includes, because with a newer Boost version I had build errors. This
makes the include explicit so std::isdigit is guaranteed to be declared.
-rw-r--r-- | gr-audio/lib/windows/windows_sink.cc | 1 | ||||
-rw-r--r-- | gr-audio/lib/windows/windows_source.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gr-audio/lib/windows/windows_sink.cc b/gr-audio/lib/windows/windows_sink.cc index c7101b736e..c160c1f548 100644 --- a/gr-audio/lib/windows/windows_sink.cc +++ b/gr-audio/lib/windows/windows_sink.cc @@ -22,6 +22,7 @@ #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> +#include <cctype> #include <iostream> #include <sstream> #include <stdexcept> diff --git a/gr-audio/lib/windows/windows_source.cc b/gr-audio/lib/windows/windows_source.cc index fd7d3e44b7..fcbb5b38c6 100644 --- a/gr-audio/lib/windows/windows_source.cc +++ b/gr-audio/lib/windows/windows_source.cc @@ -22,6 +22,7 @@ #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> +#include <cctype> #include <iostream> #include <sstream> #include <stdexcept> |