diff --git a/include/ntfs/types.h b/include/ntfs/types.h index 8b1ac35f..58687d7d 100644 --- a/include/ntfs/types.h +++ b/include/ntfs/types.h @@ -59,6 +59,11 @@ typedef s64 LCN; */ typedef s64 LSN; +/* + * Cygwin has a collusion between our BOOL and 's + * As long as this file will be included after were fine. + */ +#ifndef _WINDEF_H /* * These are just to make the code more readable... */ @@ -70,6 +75,7 @@ typedef enum { YES = 1, ONE = 1, } BOOL; +#endif /* defined _WINDEF_H */ typedef enum { CASE_SENSITIVE = 0,