summaryrefslogtreecommitdiff
path: root/include/variables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/variables.h')
-rw-r--r--include/variables.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/variables.h b/include/variables.h
index deed269c..8566a1a4 100644
--- a/include/variables.h
+++ b/include/variables.h
@@ -1,5 +1,7 @@
-#include <efiauthenticated.h>
+#ifndef SHIM_VARIABLES_H
+#define SHIM_VARIABLES_H
+#include <efiauthenticated.h>
#include <PeImage.h> /* for SHA256_DIGEST_SIZE */
#define certlist_for_each_certentry(cl, cl_init, s, s_init) \
@@ -57,3 +59,5 @@ variable_enroll_hash(CHAR16 *var, EFI_GUID owner,
EFI_STATUS
variable_create_esl(void *cert, int cert_len, EFI_GUID *type, EFI_GUID *owner,
void **out, int *outlen);
+
+#endif /* SHIM_VARIABLES_H */