diff --git a/ntfsprogs/utils.h b/ntfsprogs/utils.h index 0a97fb34..55205614 100644 --- a/ntfsprogs/utils.h +++ b/ntfsprogs/utils.h @@ -30,6 +30,7 @@ #include #include +#include extern const char *ntfs_bugs; extern const char *ntfs_home; @@ -38,7 +39,7 @@ extern const char *ntfs_gpl; #define PATH_SEP '/' #define MAX_PATH 1024 -#ifndef REG_NOERROR +#if (REG_NOERROR != 0) #define REG_NOERROR REG_OKAY #endif