commit | d19b9219dd09e7ec55856c0813f8a6ccb488b3ca | [log] [tgz] |
---|---|---|
author | Soumil Shah <soumil_92@codeaurora.org> | Fri Feb 02 10:37:24 2018 -0800 |
committer | Rohit Kulkarni <rkulkarn@codeaurora.org> | Thu Feb 15 18:59:32 2018 -0800 |
tree | 0a0b3569d5119b5c9a87762d89c2c53e0d12d5ee | |
parent | e3beae8696d16f8ea448c496130dc6ca75601582 [diff] |
Add missing include file to fix compilation error Add include of errno.h Change-Id: I9c62ffd6feffd55d0adeafe0ff84b0336e139481
diff --git a/libgralloc1/gralloc_priv.h b/libgralloc1/gralloc_priv.h index 7553017..0a2314b 100644 --- a/libgralloc1/gralloc_priv.h +++ b/libgralloc1/gralloc_priv.h
@@ -20,6 +20,7 @@ #ifndef __GRALLOC_PRIV_H__ #define __GRALLOC_PRIV_H__ +#include <errno.h> #include <unistd.h> #include "gr_priv_handle.h"
diff --git a/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp b/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp index 784e91b..f2dacb2 100644 --- a/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp +++ b/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp
@@ -27,6 +27,7 @@ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <errno.h> #include <sync/sync.h> #include <utils/constants.h> #include <utils/debug.h>