File: include_headers.diff

package info (click to toggle)
android-platform-system-tools-hidl 10.0.0%2Br36-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,928 kB
  • sloc: cpp: 21,932; yacc: 1,416; java: 1,239; lex: 496; sh: 360; python: 44; xml: 20; makefile: 12
file content (55 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download | duplicates (3)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Description: Add necessary header files
 The patch adds headers to the appropriate source code files to provide the
 necessary standard library functionality.
Author: Katerina
Last-Update: 2019-08-19
---

--- a/Coordinator.cpp
+++ b/Coordinator.cpp
@@ -30,6 +30,7 @@
 #include "AST.h"
 #include "Interface.h"
 #include "hidl-gen_l.h"
+#include <cstring>

 static bool existdir(const char *name) {
     DIR *dir = opendir(name);
--- a/EnumType.cpp
+++ b/EnumType.cpp
@@ -18,6 +18,7 @@

 #include <hidl-util/Formatter.h>
 #include <inttypes.h>
+#include <algorithm>
 #include <iostream>
 #include <unordered_map>

--- a/HidlTypeAssertion.cpp
+++ b/HidlTypeAssertion.cpp
@@ -18,6 +18,7 @@

 #include <hidl-util/Formatter.h>

+#include <algorithm>
 #include <string>
 #include <vector>

--- a/main.cpp
+++ b/main.cpp
@@ -19,6 +19,7 @@
 #include "Scope.h"

 #include <android-base/logging.h>
+#include <algorithm>
 #include <hidl-hash/Hash.h>
 #include <hidl-util/FQName.h>
 #include <hidl-util/Formatter.h>
@@ -27,6 +28,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 #include <iostream>
+#include <cstring>
 #include <set>
 #include <string>
 #include <vector>