summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-29 02:21:29 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-29 15:54:40 +0300
commit7022136aaa66e06e8b6400ae247a9c151099dc9b (patch)
treee67dac9c6ea332f22f50b97900660c1c0b270b21 /src
parentb771196d91245084784bf477f0e6aaf8642abffb (diff)
libcamera: device_enumerator_udev: Include missing header
The makedev() macro is defined in sys/sysmacros.h, include the header explicitly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/device_enumerator_udev.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/device_enumerator_udev.cpp b/src/libcamera/device_enumerator_udev.cpp
index cb2d21b9..86f6ca18 100644
--- a/src/libcamera/device_enumerator_udev.cpp
+++ b/src/libcamera/device_enumerator_udev.cpp
@@ -11,6 +11,7 @@
#include <libudev.h>
#include <string.h>
#include <sys/ioctl.h>
+#include <sys/sysmacros.h>
#include <unistd.h>
#include <libcamera/event_notifier.h>