http://bugs.gentoo.org/330919 --- ../include/linux/em8300.h +++ ../include/linux/em8300.h @@ -234,6 +234,10 @@ #include /* wait_queue_head_t */ #include /* struct list_head */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,34) +#include /* struct semaphore */ +#endif + #if defined(CONFIG_SND) || defined(CONFIG_SND_MODULE) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16) #define snd_card_t struct snd_card