v4l2-controls: add a missing include
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 2 Nov 2018 10:36:32 +0000 (06:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 2 Nov 2018 10:36:32 +0000 (06:36 -0400)
As warned by "make headers_check", the definition for the linux-specific
integer types is missing:

./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include <linux/types.h>

Fixes: c27bb30e7b6d ("media: v4l: Add definitions for MPEG-2 slice format and metadata")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
include/uapi/linux/v4l2-controls.h

index 51b0958..86a5491 100644 (file)
@@ -47,6 +47,8 @@
  *  videodev2.h.
  */
 
+#include <linux/types.h>
+
 #ifndef __LINUX_V4L2_CONTROLS_H
 #define __LINUX_V4L2_CONTROLS_H