Skip to content

Commit

Permalink
android/binder_*: add <stdbool.h>...
Browse files Browse the repository at this point in the history
...to files with C API using bool.

(I've left the ones where the only uses of bool are in C++ anyway, since
those headers are obviously not usable from C.)

Bug: android/ndk#1281
Test: treehugger
Exempt-From-Owner-Approval: Cherry pick to release branch
Change-Id: I616a8482bcdbb391ec8c028d6b6a70b1d9d08960
(cherry picked from commit 09f4184)
  • Loading branch information
enh-google authored and DanAlbert committed Dec 11, 2020
1 parent fd80a38 commit e24a354
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/binder/ndk/include_ndk/android/binder_ibinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#pragma once

#include <stdbool.h>
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/types.h>
Expand Down
1 change: 1 addition & 0 deletions libs/binder/ndk/include_ndk/android/binder_parcel.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#pragma once

#include <stdbool.h>
#include <stddef.h>
#include <sys/cdefs.h>

Expand Down
1 change: 1 addition & 0 deletions libs/binder/ndk/include_ndk/android/binder_status.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#pragma once

#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/cdefs.h>

Expand Down

0 comments on commit e24a354

Please sign in to comment.