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>
This commit is contained in:
Laurent Pinchart
2019-04-29 02:21:29 +03:00
parent b771196d91
commit 7022136aaa

View File

@@ -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>