diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-08-08 17:33:10 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-08-08 17:33:10 +0200 |
commit | fd4630d62ceb253df845142b12ab8a3856bf4db7 (patch) | |
tree | f13bbfb131837939655f7f484e8b9e637b5dd862 | |
parent | 121d84c7a29479d3dd6ffe4a516c52347ccaeca2 (diff) | |
download | ODR-AudioEnc-fd4630d62ceb253df845142b12ab8a3856bf4db7.tar.gz ODR-AudioEnc-fd4630d62ceb253df845142b12ab8a3856bf4db7.tar.bz2 ODR-AudioEnc-fd4630d62ceb253df845142b12ab8a3856bf4db7.zip |
Add missing include in ReedSolomon
-rw-r--r-- | contrib/ReedSolomon.cpp | 4 | ||||
-rw-r--r-- | contrib/ReedSolomon.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/contrib/ReedSolomon.cpp b/contrib/ReedSolomon.cpp index 1bf0b24..38b3b22 100644 --- a/contrib/ReedSolomon.cpp +++ b/contrib/ReedSolomon.cpp @@ -29,8 +29,8 @@ #include <algorithm> #include <stdexcept> #include <sstream> -#include <stdio.h> // For galois.h ... -#include <string.h> // For memcpy +#include <cstdio> +#include <cstring> // For memcpy extern "C" { #include "fec/fec.h" diff --git a/contrib/ReedSolomon.h b/contrib/ReedSolomon.h index abcef62..d6686ac 100644 --- a/contrib/ReedSolomon.h +++ b/contrib/ReedSolomon.h @@ -30,7 +30,8 @@ # include <config.h> #endif -#include <stdlib.h> +#include <cstdlib> +#include <cstdint> class ReedSolomon { |