Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From ff8562f7724c4db4b83635af9e627f3495222327 Mon Sep 17 00:00:00 2001 |
| 2 | From: Anibal Limon <limon.anibal@gmail.com> |
| 3 | Date: Tue, 22 Aug 2017 04:41:31 -0500 |
| 4 | Subject: [PATCH 1/3] apt-pkg/contrib/strutl.cc: Include array header |
| 5 | |
| 6 | If GCC version is less than 5 the array header needs to be included |
| 7 | to support std::array. |
| 8 | |
| 9 | After we drop debian8 and centos7 that has gcc < 5 versions this patch |
| 10 | can be remove. |
| 11 | |
| 12 | Signed-off-by: Anibal Limon <limon.anibal@gmail.com> |
| 13 | |
| 14 | Upstream-Status: Inappropriate [embedded specific] |
| 15 | --- |
| 16 | apt-pkg/contrib/strutl.cc | 1 + |
| 17 | 1 file changed, 1 insertion(+) |
| 18 | |
| 19 | diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc |
| 20 | index 60d0ca8..c2ff01d 100644 |
| 21 | --- a/apt-pkg/contrib/strutl.cc |
| 22 | +++ b/apt-pkg/contrib/strutl.cc |
| 23 | @@ -27,6 +27,7 @@ |
| 24 | #include <sstream> |
| 25 | #include <string> |
| 26 | #include <vector> |
| 27 | +#include <array> |
| 28 | |
| 29 | #include <stddef.h> |
| 30 | #include <stdlib.h> |
| 31 | -- |
| 32 | 2.1.4 |
| 33 | |