include/unix/canfestival.h
changeset 391 7802a7d5584f
parent 384 83793fc7ce48
child 480 d0d76932ad74
--- a/include/unix/canfestival.h	Tue Feb 12 09:42:56 2008 +0100
+++ b/include/unix/canfestival.h	Tue Feb 12 09:44:55 2008 +0100
@@ -10,7 +10,10 @@
 #include "data.h"
 #include "timers_driver.h"
 
+#ifndef __KERNEL__
 #include <dlfcn.h>
+#endif
+
 typedef void* LIB_HANDLE;
 
 UNS8 UnLoadCanDriver(LIB_HANDLE handle);