From 3fd89450610679c6b777767632d2af5751773295 Mon Sep 17 00:00:00 2001 From: sr Date: Wed, 17 Jul 2013 12:10:01 +0200 Subject: Replace all pthread_spin_* calls with spin_*, so that all locking can be tracked and debugged Fix compilation of kernel module --- src/types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index 6b074b7..a8d567d 100644 --- a/src/types.h +++ b/src/types.h @@ -22,7 +22,9 @@ #define TYPES_H_ #include "config.h" +#ifndef KERNEL_MODULE #include +#endif // ioctl #define DNBD3_MAGIC 'd' -- cgit v1.2.3-55-g7522