--- a/modules/highgui/src/cap_libv4l.cpp	2013-05-08 01:49:19.000000000 +0900
+++ b/modules/highgui/src/cap_libv4l.cpp	2013-05-08 01:51:19.000000000 +0900
@@ -235,7 +235,6 @@
 #include <sys/mman.h>
 #include <string.h>
 #include <stdlib.h>
-#include <asm/types.h>          /* for videodev2.h */
 #include <assert.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
@@ -244,6 +243,7 @@
 #include <linux/videodev.h>
 #endif
 #ifdef HAVE_CAMV4L2
+#include <asm/types.h>          /* for videodev2.h */
 #include <linux/videodev2.h>
 #endif
 
