summaryrefslogtreecommitdiff
path: root/sci-electronics/NanoVNA-QT/files/NanoVNA-QT-20200507-missing_headers.patch
blob: d49cef3f53c65384745b0bb1f1a1273f7d919898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- a/libxavna/xavna_mock_ui/xavna_mock_ui.H
+++ b/libxavna/xavna_mock_ui/xavna_mock_ui.H
@@ -2,6 +2,7 @@
 #define XAVNA_MOCK_UI_H
 
 #include <functional>
+#include <string>
 using namespace std;
 typedef function<void(string dut_name, double cableLen1, double cableLen2)> xavna_ui_changed_cb;
 
--- a/vna_qt/firmwareupdater.H
+++ b/vna_qt/firmwareupdater.H
@@ -2,6 +2,7 @@
 #define FIRMWAREUPDATER_H
 #include <string>
 #include <functional>
+#include <cstdint>
 #include <pthread.h>
 using namespace std;
 
--- a/vna_qt/polarview.C
+++ b/vna_qt/polarview.C
@@ -3,6 +3,7 @@
 #include <cmath>
 #include <QPaintEvent>
 #include <QPainter>
+#include <QPainterPath>
 PolarView::PolarView(QWidget *parent) : QWidget(parent)
 {
 
--- a/vna_qt/polarview.H
+++ b/vna_qt/polarview.H
@@ -5,6 +5,7 @@
 #include <QImage>
 #include <vector>
 #include <complex>
+#include <cstdint>
 using namespace std;