Skip to content

Commit

Permalink
Include <stdbool.h> in NDK headers that use bool.
Browse files Browse the repository at this point in the history
Bug: android/ndk#1281
Test: treehugger
Change-Id: Ibba9b1b03e92da8a664145a269732c638b2ec550
  • Loading branch information
enh-google committed Jun 12, 2020
1 parent bcfc35b commit 9dafdd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions camera/ndk/include/camera/NdkCameraMetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#ifndef _NDK_CAMERA_METADATA_H
#define _NDK_CAMERA_METADATA_H

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

Expand Down
1 change: 1 addition & 0 deletions media/ndk/include/media/NdkMediaExtractor.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#ifndef _NDK_MEDIA_EXTRACTOR_H
#define _NDK_MEDIA_EXTRACTOR_H

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

Expand Down
1 change: 1 addition & 0 deletions media/ndk/include/media/NdkMediaFormat.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#ifndef _NDK_MEDIA_FORMAT_H
#define _NDK_MEDIA_FORMAT_H

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

Expand Down

0 comments on commit 9dafdd6

Please sign in to comment.