Skip to content

Commit 089add8

Browse files
committed
Add missing direct includes for assert, stdint, and string headers
1 parent 21e3876 commit 089add8

255 files changed

Lines changed: 395 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

analytics/src/analytics_desktop.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#include <cstdint>
1516
#include <future>
1617
#include <map>
1718
#include <mutex>

analytics/src/analytics_desktop_dynamic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
// --- Copied from original header ---
2525
#include <stdbool.h>
26-
#include <stdint.h>
2726
#include <stddef.h>
27+
#include <stdint.h>
2828

2929
typedef struct GoogleAnalytics_Reserved_Opaque GoogleAnalytics_Reserved;
3030

analytics/src/analytics_ios.mm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#import "FIRAnalytics+OnDevice.h"
2121
#import "FIRAnalytics.h"
2222

23+
#include <cassert>
24+
#include <cstdint>
2325
#include "analytics/src/analytics_common.h"
2426
#include "analytics/src/include/firebase/analytics.h"
2527

app/rest/controller_curl.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "app/rest/controller_curl.h"
1818

19+
#include <cstdint>
1920
#include <utility>
2021

2122
#include "app/rest/transport_curl.h"

app/rest/gzipheader.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include <assert.h>
2121

2222
#include <algorithm>
23+
#include <cstdint>
24+
#include <cstring>
2325

2426
#include "app/src/assert.h"
2527
#include "app/src/util.h"

app/rest/request_json.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#ifndef FIREBASE_APP_REST_REQUEST_JSON_H_
1818
#define FIREBASE_APP_REST_REQUEST_JSON_H_
1919

20+
#include <assert.h>
21+
2022
#include <string>
2123

2224
#include "app/rest/request.h"

app/rest/request_options.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#ifndef FIREBASE_APP_REST_REQUEST_OPTIONS_H_
1818
#define FIREBASE_APP_REST_REQUEST_OPTIONS_H_
1919

20+
#include <stdint.h>
21+
2022
#include <map>
2123
#include <string>
2224

app/rest/response_json.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#ifndef FIREBASE_APP_REST_RESPONSE_JSON_H_
1818
#define FIREBASE_APP_REST_RESPONSE_JSON_H_
1919

20+
#include <assert.h>
21+
#include <string.h>
22+
2023
#include <string>
2124
#include <utility>
2225

app/rest/transport_curl.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "app/rest/transport_curl.h"
1818

1919
#include <cassert>
20+
#include <cstdint>
2021
#include <deque>
2122
#include <map>
2223

app/rest/transport_mock.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "app/rest/transport_mock.h"
1818

19+
#include <cstring>
1920
#include <string>
2021

2122
#include "app/rest/util.h"

0 commit comments

Comments
 (0)