aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-06-08 13:52:31 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-06-08 13:52:31 +0200
commit7a473c10725b467b60cdf8011c22560b2250324b (patch)
treeb8ebb5a0769ed50865d46985205fb2c5cac6df53
parentb4d788a065fb3338df26c44a94d804c194af4955 (diff)
downloaddabmod-7a473c10725b467b60cdf8011c22560b2250324b.tar.gz
dabmod-7a473c10725b467b60cdf8011c22560b2250324b.tar.bz2
dabmod-7a473c10725b467b60cdf8011c22560b2250324b.zip
Add missing includes for GCC 10 compatibility
-rw-r--r--src/Buffer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index ab50f1a..20f71f9 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -29,8 +29,9 @@
#include "PcDebug.h"
#include <string>
-#include <stdlib.h>
-#include <string.h>
+#include <stdexcept>
+#include <cstdlib>
+#include <cstring>
Buffer::Buffer(size_t len, const void *data)
{