diff options
author | Jerry Lin | 2018-11-03 18:46:12 +0800 |
---|---|---|
committer | Jerry Lin | 2018-11-03 18:46:12 +0800 |
commit | 209bed79d57c9bf39084f42d2639cda2b0b38354 (patch) | |
tree | 8a336213dbfab9a43e091b65c83204ac1f16c285 /missing-headers.patch | |
parent | aaa63b16de933e6aa5f8c34d841ff5b9bcf8604e (diff) | |
download | aur-ros-indigo-librealsense.tar.gz |
Update version to 1.12.1-1. Fix missing headers.
Diffstat (limited to 'missing-headers.patch')
-rw-r--r-- | missing-headers.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/missing-headers.patch b/missing-headers.patch new file mode 100644 index 000000000000..a111b801d6d5 --- /dev/null +++ b/missing-headers.patch @@ -0,0 +1,24 @@ +diff --git a/src/types.h b/src/types.h +index 0455c83..bff27f9 100644 +--- a/src/types.h ++++ b/src/types.h +@@ -19,6 +19,7 @@ + #include <mutex> // For mutex, unique_lock + #include <condition_variable> // For condition_variable + #include <memory> // For unique_ptr ++#include <functional> // For std::function + #include <atomic> + #include <map> + #include <algorithm> +diff --git a/src/uvc-v4l2.cpp b/src/uvc-v4l2.cpp +index e97dfda..1b04966 100644 +--- a/src/uvc-v4l2.cpp ++++ b/src/uvc-v4l2.cpp +@@ -30,6 +30,7 @@ + #include <sys/stat.h> + #include <sys/mman.h> + #include <sys/ioctl.h> ++#include <sys/sysmacros.h> + #include <linux/usb/video.h> + #include <linux/uvcvideo.h> + #include <linux/videodev2.h> |