mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 03:42:37 +01:00
Add missing header includes to fix build error.
```
In file included from /home/buildozer/aports/testing/warzone2100/src/warzone2100/3rdparty/SQLiteCpp/include/SQLiteCpp/Column.h:14,
from /home/buildozer/aports/testing/warzone2100/src/warzone2100/3rdparty/SQLiteCpp/include/SQLiteCpp/Database.h:14,
from /home/buildozer/aports/testing/warzone2100/src/warzone2100/3rdparty/SQLiteCpp/src/Transaction.cpp:13:
/home/buildozer/aports/testing/warzone2100/src/warzone2100/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h:128:39: error: 'int32_t' does not name a type
128 | void bind(const int aIndex, const int32_t aValue);
| ^~~~~~~
/home/buildozer/aports/testing/warzone2100/src/warzone2100/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h:20:1: note: 'int32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
19 | #include <memory>
+++ |+#include <cstdint>
20 |
```
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
diff -ruN a/3rdparty/SQLiteCpp/include/SQLiteCpp/Column.h b/3rdparty/SQLiteCpp/include/SQLiteCpp/Column.h
|
|
--- a/3rdparty/SQLiteCpp/include/SQLiteCpp/Column.h 2024-11-13 19:54:49.000000000 +0000
|
|
+++ b/3rdparty/SQLiteCpp/include/SQLiteCpp/Column.h 2025-10-19 12:41:14.480000000 +0000
|
|
@@ -16,6 +16,7 @@
|
|
|
|
#include <string>
|
|
#include <memory>
|
|
+#include <cstdint>
|
|
|
|
// Forward declarations to avoid inclusion of <sqlite3.h> in a header
|
|
struct sqlite3_stmt;
|
|
diff -ruN a/3rdparty/SQLiteCpp/include/SQLiteCpp/Database.h b/3rdparty/SQLiteCpp/include/SQLiteCpp/Database.h
|
|
--- a/3rdparty/SQLiteCpp/include/SQLiteCpp/Database.h 2024-11-13 19:54:49.000000000 +0000
|
|
+++ b/3rdparty/SQLiteCpp/include/SQLiteCpp/Database.h 2025-10-19 12:41:54.670000000 +0000
|
|
@@ -66,6 +66,7 @@
|
|
|
|
#include <memory>
|
|
#include <string.h>
|
|
+#include <cstdint>
|
|
|
|
// Forward declarations to avoid inclusion of <sqlite3.h> in a header
|
|
struct sqlite3;
|
|
diff -ruN a/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h b/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h
|
|
--- a/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h 2024-11-13 19:54:49.000000000 +0000
|
|
+++ b/3rdparty/SQLiteCpp/include/SQLiteCpp/Statement.h 2025-10-19 12:40:46.020000000 +0000
|
|
@@ -17,6 +17,7 @@
|
|
#include <string>
|
|
#include <map>
|
|
#include <memory>
|
|
+#include <cstdint>
|
|
|
|
// Forward declarations to avoid inclusion of <sqlite3.h> in a header
|
|
struct sqlite3;
|