diff --git a/objectstore/Algorithms.hpp b/objectstore/Algorithms.hpp
index bfd4df16f34e5a7d163a379c4cdbe22d12a1aaa3..303caacf8bc77a4e6e54dd305a99d52d0063b925 100644
--- a/objectstore/Algorithms.hpp
+++ b/objectstore/Algorithms.hpp
@@ -16,6 +16,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#pragma once
+
 /**
  * This file defines the containers, their traits and algorithms to add/remove
  * to/from them.
diff --git a/objectstore/ArchiveQueueAlgorithms.hpp b/objectstore/ArchiveQueueAlgorithms.hpp
index 8a5aa0db1c899c033f098a8f6f59f352df2232cd..280fa6fbc52cf2783d258dbd9f6c6dd635f808d0 100644
--- a/objectstore/ArchiveQueueAlgorithms.hpp
+++ b/objectstore/ArchiveQueueAlgorithms.hpp
@@ -16,6 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#pragma once
 #include "Algorithms.hpp"
 #include "ArchiveQueue.hpp"