archrelease: copy trunk to community-any
[ArchLinux/community.git] / hyperion / repos / community-x86_64 / 0001-Fix-no-decleration-of-assert-with-GCC-7.2.patch
blob3016414bb35c8097df08f4a0672a285a71d9e94d
1 From 88ae95d522bfdda4c29a1116367aad8c7d948779 Mon Sep 17 00:00:00 2001
2 From: Jelle van der Waa <jelle@vdwaa.nl>
3 Date: Sat, 21 Oct 2017 12:46:49 +0200
4 Subject: [PATCH] Fix no decleration of `assert` with GCC 7.2
6 Add a missing include for cassert to fix the -fpermissive compiler
7 error.
8 ---
9 include/utils/Image.h | 1 +
10 1 file changed, 1 insertion(+)
12 diff --git a/include/utils/Image.h b/include/utils/Image.h
13 index e8c82e4..dad57a2 100644
14 --- a/include/utils/Image.h
15 +++ b/include/utils/Image.h
16 @@ -1,6 +1,7 @@
17 #pragma once
19 // STL includes
20 +#include <cassert>
21 #include <vector>
22 #include <cstdint>
23 #include <cstring>
24 --
25 2.14.2