summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-05-17 21:39:15 +0300
committerGitHub <noreply@github.com>2020-05-17 21:39:15 +0300
commit852eedd94c0d519bb63ca989b9e13fa9c36f6b14 (patch)
tree8b026d070db9ca4cea14936b78653951b22a8b82
parent0d1709762320459496c55a2dac09974caa7a0ba5 (diff)
parentaa54634ce7cbbfc844de945e73a9f34cdcb9bb12 (diff)
Merge pull request #54 from ilteroi/gcc10
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>