diff --git a/scst/include/scst.h b/scst/include/scst.h index 0a058d393..adf9fdef8 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -71,7 +71,7 @@ typedef _Bool bool; #define __aligned __attribute__((aligned)) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 32) #ifndef O_DSYNC #define O_DSYNC O_SYNC #endif