aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ReedSolomon.cpp4
-rw-r--r--lib/ReedSolomon.h3
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
{