vcpkg/ports/crashpad/fix-stdint.patch
Frank 30036b4c80
[crashpad] Fix std int for linux (#38322)
Fixes https://github.com/microsoft/vcpkg/issues/38308
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [x] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [ ] ~~Any patches that are no longer applied are deleted from the
port's directory.~~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-04-23 12:09:43 -04:00

27 lines
712 B
Diff

diff --git a/base/logging.h b/base/logging.h
index a123535..a87de3d 100644
--- a/base/logging.h
+++ b/base/logging.h
@@ -7,7 +7,7 @@
#include <assert.h>
#include <errno.h>
-
+#include <stdint.h>
#include <limits>
#include <sstream>
#include <string>
diff --git a/base/strings/utf_string_conversion_utils.h b/base/strings/utf_string_conversion_utils.h
index ed99a23..0ba3fea 100644
--- a/base/strings/utf_string_conversion_utils.h
+++ b/base/strings/utf_string_conversion_utils.h
@@ -6,7 +6,7 @@
#define MINI_CHROMIUM_BASE_STRINGS_UTF_STRING_CONVERSION_UTILS_H_
#include <string>
-
+#include <stdint.h>
namespace base {
inline bool IsValidCodepoint(uint32_t code_point) {