Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

common/{lz4_compression, zstd_compression}: Add missing header guards

Lioncasha08e56c7a7c6
diff --git a/src/common/lz4_compression.h b/src/common/lz4_compression.h
index fe2231a6c9..4c16f6e030 100644
--- a/src/common/lz4_compression.h
+++ b/src/common/lz4_compression.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include <vector>
#include "common/common_types.h"
diff --git a/src/common/zstd_compression.h b/src/common/zstd_compression.h
index e0a64b0355..e9de941c80 100644
--- a/src/common/zstd_compression.h
+++ b/src/common/zstd_compression.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include <vector>
#include "common/common_types.h"