Add missing includes.

Change-Id: I497ccf08d7b5428f315c9cc0dbaf3b10d2df8dc7
diff --git a/camera/QCamera2/stack/common/cam_queue.h b/camera/QCamera2/stack/common/cam_queue.h
index a23c622..b6a3c3f 100644
--- a/camera/QCamera2/stack/common/cam_queue.h
+++ b/camera/QCamera2/stack/common/cam_queue.h
@@ -29,6 +29,8 @@
 
 #include "cam_list.h"
 
+#include <stdlib.h>
+
 typedef struct {
     struct cam_list list;
     void *data;
diff --git a/camera/QCamera2/util/QCameraCmdThread.cpp b/camera/QCamera2/util/QCameraCmdThread.cpp
index c5be4ad..4b24649 100644
--- a/camera/QCamera2/util/QCameraCmdThread.cpp
+++ b/camera/QCamera2/util/QCameraCmdThread.cpp
@@ -29,6 +29,7 @@
 
 #include <utils/Errors.h>
 #include <utils/Log.h>
+#include <malloc.h>
 #include <sys/prctl.h>
 #include "QCameraCmdThread.h"
 
diff --git a/camera/QCamera2/util/QCameraQueue.cpp b/camera/QCamera2/util/QCameraQueue.cpp
index cd9105e..31996fb 100644
--- a/camera/QCamera2/util/QCameraQueue.cpp
+++ b/camera/QCamera2/util/QCameraQueue.cpp
@@ -29,6 +29,8 @@
 
 #include <utils/Errors.h>
 #include <utils/Log.h>
+#include <malloc.h>
+#include <string.h>
 #include "QCameraQueue.h"
 
 namespace qcamera {