File: 0005-Fix-GCC-10-build-with-missing-include.patch

package info (click to toggle)
fpga-icestorm 0~20230218gitd20a5e9-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,448 kB
  • sloc: python: 28,381; cpp: 4,966; sh: 2,594; ansic: 1,202; makefile: 677; xml: 16
file content (20 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Tue, 13 Oct 2020 07:59:50 +0000
Subject: Fix GCC-10 build with missing include

---
 icetime/icetime.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/icetime/icetime.cc b/icetime/icetime.cc
index fef65d2..2bace03 100644
--- a/icetime/icetime.cc
+++ b/icetime/icetime.cc
@@ -34,6 +34,7 @@
 #include <string>
 #include <tuple>
 #include <vector>
+#include <stdexcept>
 
 #ifdef __EMSCRIPTEN__
 #include <emscripten.h>