# HG changeset patch
# User Christian Taedcke <hacking@taedcke.com>
# Date 1292073849 -3600
# Node ID 11b21e9a92f6b7465323114ea3b5234fbd0e95ed
# Parent  8b67ee3f5363c3576dd87690b1734712a65e274e
FIXED: - added missing endif
* * *
FIXED: - moved #include <linux/delay.h> into the ifdef __KERNEL__ block

diff -r 8b67ee3f5363 -r 11b21e9a92f6 drivers/unix/unix.c
--- a/drivers/unix/unix.c	Fri Feb 19 15:51:40 2010 +0100
+++ b/drivers/unix/unix.c	Sat Dec 11 14:24:09 2010 +0100
@@ -25,8 +25,8 @@
 #include <stdlib.h>
 #else
 #include <linux/module.h>
-#endif
 #include <linux/delay.h>
+#endif
 
 #ifndef NOT_USE_DYNAMIC_LOADING
 #define DLL_CALL(funcname) (* funcname##_driver)
diff -r 8b67ee3f5363 -r 11b21e9a92f6 include/can_driver.h
--- a/include/can_driver.h	Fri Feb 19 15:51:40 2010 +0100
+++ b/include/can_driver.h	Sat Dec 11 14:24:09 2010 +0100
@@ -52,6 +52,7 @@
 //Windows was missing the definition of the calling convention
 #define DLL_CALL(funcname) __stdcall funcname##_driver
 #endif
+#endif //DLL_CALL
 
 #ifndef FCT_PTR_INIT
 #define FCT_PTR_INIT