VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Include/Library/DcsCfgLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Library/DcsCfgLib.h')
-rw-r--r--Include/Library/DcsCfgLib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/Library/DcsCfgLib.h b/Include/Library/DcsCfgLib.h
index 4c8153b..ccbaa32 100644
--- a/Include/Library/DcsCfgLib.h
+++ b/Include/Library/DcsCfgLib.h
@@ -14,6 +14,8 @@ of the [to be defined License, Version]. The full text of the license may be fou
#include <Uefi.h>
+#include "CommonLib.h"
+
//////////////////////////////////////////////////////////////////////////
// DeList and GPT
//////////////////////////////////////////////////////////////////////////
@@ -206,7 +208,7 @@ typedef struct _DCS_RND_SAVED {
UINT8 pad[512 - 8 - 4 - 4 - 4 - 4 - sizeof(EFI_TIME) - sizeof(DCS_RND_STATE)];
} DCS_RND_SAVED;
#pragma pack()
-static_assert(sizeof(DCS_RND_SAVED) == 512, "Wrong size DCS_RND_SAVED");
+CSTATIC_ASSERT(sizeof(DCS_RND_SAVED) == 512, Wrong_size_DCS_RND_SAVED);
typedef struct _DCS_RND {
DCS_RND_PREPARE Prepare;