1234567891011121314151617181920212223242526272829303132333435 |
- From aa54634ce7cbbfc844de945e73a9f34cdcb9bb12 Mon Sep 17 00:00:00 2001
- From: Peter Trompeter <christoph@zen.fritz.box>
- Date: Fri, 15 May 2020 15:20:47 +0200
- Subject: [PATCH] fix compiler errors with gcc 10
- [Retrieved from:
- https://github.com/tomba/kmsxx/commit/aa54634ce7cbbfc844de945e73a9f34cdcb9bb12]
- Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
- ---
- kms++/inc/kms++/pixelformats.h | 1 +
- kms++util/src/opts.cpp | 1 +
- 2 files changed, 2 insertions(+)
- 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>
|