summaryrefslogtreecommitdiffstats
path: root/iwyu-add-stdint.h-for-various-integer-types-in-net.patch
diff options
context:
space:
mode:
Diffstat (limited to 'iwyu-add-stdint.h-for-various-integer-types-in-net.patch')
-rw-r--r--iwyu-add-stdint.h-for-various-integer-types-in-net.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/iwyu-add-stdint.h-for-various-integer-types-in-net.patch b/iwyu-add-stdint.h-for-various-integer-types-in-net.patch
new file mode 100644
index 0000000..ff31bbb
--- /dev/null
+++ b/iwyu-add-stdint.h-for-various-integer-types-in-net.patch
@@ -0,0 +1,43 @@
+From 78e8aa30665d0344a64a98c092612ea6064dbe60 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Wed, 12 Apr 2023 08:42:20 +0000
+Subject: [PATCH] IWYU: add stdint.h for various integer types in //net
+
+Bug: 957519
+Change-Id: I7161bc8f5974a4d241c12d618d954db0787ab84c
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4394856
+Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
+Reviewed-by: Steven Bingler <bingler@chromium.org>
+Reviewed-by: Matt Mueller <mattm@chromium.org>
+Cr-Commit-Position: refs/heads/main@{#1129139}
+---
+ net/cert/pki/string_util.h | 2 ++
+ net/cookies/cookie_inclusion_status.h | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/net/cert/pki/string_util.h b/net/cert/pki/string_util.h
+index 1687b088606..b18f716f4b2 100644
+--- a/net/cert/pki/string_util.h
++++ b/net/cert/pki/string_util.h
+@@ -7,6 +7,8 @@
+
+ #include "net/base/net_export.h"
+
++#include <stdint.h>
++
+ #include <string_view>
+ #include <vector>
+
+diff --git a/net/cookies/cookie_inclusion_status.h b/net/cookies/cookie_inclusion_status.h
+index e8dd6d8d9fa..129b13ab7ba 100644
+--- a/net/cookies/cookie_inclusion_status.h
++++ b/net/cookies/cookie_inclusion_status.h
+@@ -5,6 +5,8 @@
+ #ifndef NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
+ #define NET_COOKIES_COOKIE_INCLUSION_STATUS_H_
+
++#include <stdint.h>
++
+ #include <bitset>
+ #include <cstdint>
+ #include <ostream>