commit | 332da112943fa1020eab9ec599a5fda47794205d | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Tue Dec 12 15:42:00 2017 -0800 |
committer | Dan Albert <danalbert@google.com> | Tue Dec 12 15:42:00 2017 -0800 |
tree | f51058744554e1485ed2778ad050b0cb52fd9917 | |
parent | d8bffba62ab7335edf92aa6e863d14551124e7ab [diff] |
Include what you use. Test: mma Bug: None Change-Id: I024a2ee0af142c1bb923fcefd54b8b2077107476 Exempt-From-Owner-Approval: trivial cleanup
diff --git a/modules/camera/3_0/Metadata.cpp b/modules/camera/3_0/Metadata.cpp index 440da5f..9b8eb1d 100644 --- a/modules/camera/3_0/Metadata.cpp +++ b/modules/camera/3_0/Metadata.cpp
@@ -16,6 +16,8 @@ //#define LOG_NDEBUG 0 #define LOG_TAG "Metadata" +#include <errno.h> + #include <system/camera_metadata.h> #include <log/log.h>
diff --git a/modules/usbcamera/Metadata.cpp b/modules/usbcamera/Metadata.cpp index 78318f3..b0d2f93 100644 --- a/modules/usbcamera/Metadata.cpp +++ b/modules/usbcamera/Metadata.cpp
@@ -17,6 +17,8 @@ //#define LOG_NDEBUG 0 #define LOG_TAG "Metadata" +#include <errno.h> + #include <log/log.h> #define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)