summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/random-seed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/efi/random-seed.h')
-rw-r--r--src/boot/efi/random-seed.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot/efi/random-seed.h b/src/boot/efi/random-seed.h
index e0e055ab03..6aa1cc5288 100644
--- a/src/boot/efi/random-seed.h
+++ b/src/boot/efi/random-seed.h
@@ -3,6 +3,7 @@
#include <efi.h>
#include <errno.h>
+#include <uchar.h>
typedef enum RandomSeedMode {
RANDOM_SEED_OFF,
@@ -12,7 +13,7 @@ typedef enum RandomSeedMode {
_RANDOM_SEED_MODE_INVALID = -EINVAL,
} RandomSeedMode;
-static const CHAR16 * const random_seed_modes_table[_RANDOM_SEED_MODE_MAX] = {
+static const char16_t * const random_seed_modes_table[_RANDOM_SEED_MODE_MAX] = {
[RANDOM_SEED_OFF] = L"off",
[RANDOM_SEED_WITH_SYSTEM_TOKEN] = L"with-system-token",
[RANDOM_SEED_ALWAYS] = L"always",