summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Trompeter <christoph@zen.fritz.box>2020-05-15 15:20:47 +0200
committerPeter Trompeter <christoph@zen.fritz.box>2020-05-15 15:20:47 +0200
commitaa54634ce7cbbfc844de945e73a9f34cdcb9bb12 (patch)
tree5b74e285020a6831a22c102c98b2c97a85b82c3b
parent4091a630137400dfac389215a7ec8c43b191ec5f (diff)
fix compiler errors with gcc 10
-rw-r--r--kms++/inc/kms++/pixelformats.h1
-rw-r--r--kms++util/src/opts.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/kms++/inc/kms++/pixelformats.h b/kms++/inc/kms++/pixelformats.h
index 784717d..4e73d5d 100644
--- a/kms++/inc/kms++/pixelformats.h
+++ b/kms++/inc/kms++/pixelformats.h
@@ -2,6 +2,7 @@
#include <cstdint>
#include <string>
+#include <stdexcept>
namespace kms
{
diff --git a/kms++util/src/opts.cpp b/kms++util/src/opts.cpp
index afef452..5a14b84 100644
--- a/kms++util/src/opts.cpp
+++ b/kms++util/src/opts.cpp
@@ -1,4 +1,5 @@
#include <algorithm>
+#include <stdexcept>
#include <unistd.h>
#include <getopt.h>