diff options
-rw-r--r-- | src/android/camera_device.cpp | 1 | ||||
-rw-r--r-- | src/android/camera_worker.cpp | 1 | ||||
-rw-r--r-- | src/android/mm/generic_camera_buffer.cpp | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index 946ddc7a..fddc07ff 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -15,6 +15,7 @@ #include <fstream> #include <sys/mman.h> #include <tuple> +#include <unistd.h> #include <vector> #include <libcamera/control_ids.h> diff --git a/src/android/camera_worker.cpp b/src/android/camera_worker.cpp index 9f727826..98dddd9e 100644 --- a/src/android/camera_worker.cpp +++ b/src/android/camera_worker.cpp @@ -10,6 +10,7 @@ #include <errno.h> #include <string.h> #include <sys/poll.h> +#include <unistd.h> #include "camera_device.h" diff --git a/src/android/mm/generic_camera_buffer.cpp b/src/android/mm/generic_camera_buffer.cpp index 334498c1..cca88cf3 100644 --- a/src/android/mm/generic_camera_buffer.cpp +++ b/src/android/mm/generic_camera_buffer.cpp @@ -7,6 +7,8 @@ #include "../camera_buffer.h" +#include <unistd.h> + #include "libcamera/internal/buffer.h" #include "libcamera/internal/log.h" |