File: 0005-include-stdexcept.patch

package info (click to toggle)
pktanon 2~git20160407.0.2bde4f2%2Bdfsg-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,592 kB
  • sloc: cpp: 5,509; xml: 828; exp: 767; makefile: 121; ansic: 16; sh: 12
file content (16 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: make sure that stdexcept is included
 This fixes building with GCC 10, see #957688.
Author: Sascha Steinbiss <satta@debian.org>
Bug: https://github.com/KIT-Telematics/pktanon/issues/3
Forwarded: https://github.com/KIT-Telematics/pktanon/pull/4
Last-Update: 2020-04-22
--- a/libpktanon/Params.h
+++ b/libpktanon/Params.h
@@ -8,6 +8,7 @@
 # ifndef PKTANON_PARAMS_H
 # define PKTANON_PARAMS_H
 
+# include <stdexcept>
 # include <string>
 # include <unordered_map>