summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-08 17:33:10 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-08-08 17:33:10 +0200
commitfd4630d62ceb253df845142b12ab8a3856bf4db7 (patch)
treef13bbfb131837939655f7f484e8b9e637b5dd862
parent121d84c7a29479d3dd6ffe4a516c52347ccaeca2 (diff)
downloadODR-AudioEnc-fd4630d62ceb253df845142b12ab8a3856bf4db7.tar.gz
ODR-AudioEnc-fd4630d62ceb253df845142b12ab8a3856bf4db7.tar.bz2
ODR-AudioEnc-fd4630d62ceb253df845142b12ab8a3856bf4db7.zip
Add missing include in ReedSolomon
-rw-r--r--contrib/ReedSolomon.cpp4
-rw-r--r--contrib/ReedSolomon.h3
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
{