diff --git a/src/common/llvm_disassemble.h b/src/common/llvm_disassemble.h
index b7257bbc..752261d9 100644
--- a/src/common/llvm_disassemble.h
+++ b/src/common/llvm_disassemble.h
@@ -4,6 +4,8 @@
  * General Public License version 2 or any later version.
  */
 
+#pragma once
+
 #include <string>
 
 #include "common/common_types.h"
diff --git a/src/common/safe_ops.h b/src/common/safe_ops.h
index 6cc9ea4a..04d979b2 100644
--- a/src/common/safe_ops.h
+++ b/src/common/safe_ops.h
@@ -4,6 +4,8 @@
  * General Public License version 2 or any later version.
  */
 
+#pragma once
+
 #include <type_traits>
 
 #include "common/bit_util.h"