Index: plugins/vidinput_v4l2/vidinput_v4l2.cxx
--- plugins/vidinput_v4l2/vidinput_v4l2.cxx.orig
+++ plugins/vidinput_v4l2/vidinput_v4l2.cxx
@@ -130,7 +130,7 @@ static struct {
 #ifdef SOLARIS
   uint32_t code;
 #else
-  __u32 code;
+  u_int32_t code;
 #endif
 } colourFormatTab[] = {
     { "Grey", V4L2_PIX_FMT_GREY },   //Entries in this table correspond
@@ -359,7 +359,7 @@ PBoolean PVideoInputDevice_V4L2::SetVideoFormat(VideoF
 #ifdef SOLARIS
     uint32_t code;
 #else
-    __u32 code;
+    u_int32_t code;
 #endif
     const char * name;
   } static const fmt[3] = { {V4L2_STD_PAL, "PAL"},
@@ -369,7 +369,7 @@ PBoolean PVideoInputDevice_V4L2::SetVideoFormat(VideoF
 #ifdef SOLARIS
     uint32_t carg;
 #else
-    __u32 carg;
+    u_int32_t carg;
 #endif
   carg = V4L2_STD_UNKNOWN;
 
