Merge "Include what we use."
diff --git a/msm8998/libgralloc1/gr_adreno_info.cpp b/msm8998/libgralloc1/gr_adreno_info.cpp
index 1c833ed..43e9631 100644
--- a/msm8998/libgralloc1/gr_adreno_info.cpp
+++ b/msm8998/libgralloc1/gr_adreno_info.cpp
@@ -27,6 +27,8 @@
  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include <string.h>
+
 #include <cutils/log.h>
 #include <cutils/properties.h>
 #include <dlfcn.h>
diff --git a/msm8998/libgralloc1/gr_priv_handle.h b/msm8998/libgralloc1/gr_priv_handle.h
index 49e09a5..b3184d1 100644
--- a/msm8998/libgralloc1/gr_priv_handle.h
+++ b/msm8998/libgralloc1/gr_priv_handle.h
@@ -20,6 +20,8 @@
 #ifndef __GR_PRIV_HANDLE_H__
 #define __GR_PRIV_HANDLE_H__
 
+#include <errno.h>
+
 #include <cutils/log.h>
 #include <hardware/gralloc1.h>
 #include <hardware/gralloc.h>
diff --git a/msm8998/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp b/msm8998/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp
index 784e91b..70c0efb 100644
--- a/msm8998/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp
+++ b/msm8998/sdm/libs/hwc2/hwc_buffer_sync_handler.cpp
@@ -27,6 +27,8 @@
 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+#include <errno.h>
+
 #include <sync/sync.h>
 #include <utils/constants.h>
 #include <utils/debug.h>