--- kernel/conftest.sh 2012-06-05 16:24:13.000000000 +0200 +++ kernel/conftest.sh 2012-06-05 16:43:26.000000000 +0200 @@ -512,7 +512,10 @@ # and if it as an 'event' member. # echo "$CONFTEST_PREAMBLE - #include + #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0) +#include +#endif #include void conftest_pm_message_t(pm_message_t state) { pm_message_t *p = &state;