Skip to contentSkip to conversation

videodev2.h patchlet

PATCH RESEND New Stelian Pop 1 participant 1 message Nov 4, 2004

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 videodev2.h patchlet

Hi,

The following patchlet to videodev2.h brings in the "__user" definition from linux/compiler.h, making it suitable for inclusion in both kernel or user code.

Stelian.

===== include/linux/videodev2.h 1.8 vs edited =====

include/linux/videodev2.h +1 -0
@@ -16,6 +16,7 @@
 #ifdef __KERNEL__
 #include <linux/time.h> /* need struct timeval */
 #endif
+#include <linux/compiler.h> /* need __user */
 
 /*
  *	M I S C E L L A N E O U S
Signature · 1 line
Stelian Pop <[email protected]>