[BACK]Return to patch-test_testsymboldatabase.cpp CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches / patch-test_testsymboldatabase.cpp (download)

Revision 1.1, Fri Jul 9 10:50:37 2021 UTC (12 months, 4 weeks ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, HEAD

cppcheck: fix build with gcc-11

$NetBSD: patch-test_testsymboldatabase.cpp,v 1.1 2021/07/09 10:50:37 markd Exp $

gcc11 build fix

--- test/testsymboldatabase.cpp.orig	2020-06-13 16:08:37.000000000 +0000
+++ test/testsymboldatabase.cpp
@@ -31,6 +31,7 @@
 #include <cstddef>
 #include <cstdint>
 #include <cstring>
+#include <limits>
 #include <list>
 #include <map>
 #include <set>