Message ID | 20220616172943.31221-1-laurent.pinchart@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series | libv4l2subdev: Fix compilation error by including missing header | expand |
On Thu, Jun 16, 2022 at 08:29:43PM +0300, Laurent Pinchart wrote: > The uintptr_t type is defined in stdint.h, which wasn't included. Fix > it. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
diff --git a/utils/media-ctl/libv4l2subdev.c b/utils/media-ctl/libv4l2subdev.c index eb9e1cc43b7e..e2d6d6bb7558 100644 --- a/utils/media-ctl/libv4l2subdev.c +++ b/utils/media-ctl/libv4l2subdev.c @@ -27,6 +27,7 @@ #include <errno.h> #include <fcntl.h> #include <stdbool.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h>
The uintptr_t type is defined in stdint.h, which wasn't included. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- utils/media-ctl/libv4l2subdev.c | 1 + 1 file changed, 1 insertion(+)