]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - include/unix/canfestival.h
Accepted Vladimir Chren linux kernelspace port patch.
[CanFestival-3.git] / include / unix / canfestival.h
index af8e1761aa8acbd0f5c51bd004b99f499710d60d..75b1d5c7b5d1a70d9f9936d1d3cb17df3399835b 100644 (file)
@@ -10,7 +10,10 @@ extern "C" {
 #include "data.h"
 #include "timers_driver.h"
 
+#ifndef __KERNEL__
 #include <dlfcn.h>
+#endif
+
 typedef void* LIB_HANDLE;
 
 UNS8 UnLoadCanDriver(LIB_HANDLE handle);