diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-05-30 21:44:40 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-05-30 21:44:40 +0200 |
commit | e737e05009e88ea79df12aba4d863b5076d81b05 (patch) | |
tree | 4d3f457ca568a8a13a14f4d25cfca17c2572cf11 /lib | |
parent | a49219a40207bd36673f9ced85a93dcf334ebdfe (diff) | |
download | dabmux-e737e05009e88ea79df12aba4d863b5076d81b05.tar.gz dabmux-e737e05009e88ea79df12aba4d863b5076d81b05.tar.bz2 dabmux-e737e05009e88ea79df12aba4d863b5076d81b05.zip |
Common 323ed23: Include cstdint in ReedSolomon.cpp
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ReedSolomon.cpp | 4 | ||||
-rw-r--r-- | lib/ReedSolomon.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/ReedSolomon.cpp b/lib/ReedSolomon.cpp index 1bf0b24..38b3b22 100644 --- a/lib/ReedSolomon.cpp +++ b/lib/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/lib/ReedSolomon.h b/lib/ReedSolomon.h index abcef62..d6686ac 100644 --- a/lib/ReedSolomon.h +++ b/lib/ReedSolomon.h @@ -30,7 +30,8 @@ # include <config.h> #endif -#include <stdlib.h> +#include <cstdlib> +#include <cstdint> class ReedSolomon { |