aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-10-06 10:18:44 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-10-06 10:40:07 +0200
commitd0bb544128140d51b5a5a17d36eeb9fd13838586 (patch)
treef2242ef25af9bdf17c2b7b43f45576b0351a60cc /src
parent88a667e49e10af4a9e2daa51badbed63ad19d817 (diff)
Add missing #pragma once
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops.hh2
-rw-r--r--src/libstore/daemon.hh2
-rw-r--r--src/libstore/parsed-derivations.hh2
-rw-r--r--src/libutil/topo-sort.hh2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/libexpr/primops.hh b/src/libexpr/primops.hh
index ed5e2ea58..9d42d6539 100644
--- a/src/libexpr/primops.hh
+++ b/src/libexpr/primops.hh
@@ -1,3 +1,5 @@
+#pragma once
+
#include "eval.hh"
#include <tuple>
diff --git a/src/libstore/daemon.hh b/src/libstore/daemon.hh
index 841ace316..67755d54e 100644
--- a/src/libstore/daemon.hh
+++ b/src/libstore/daemon.hh
@@ -1,3 +1,5 @@
+#pragma once
+
#include "serialise.hh"
#include "store-api.hh"
diff --git a/src/libstore/parsed-derivations.hh b/src/libstore/parsed-derivations.hh
index 3fa09f34f..c9fbe68c4 100644
--- a/src/libstore/parsed-derivations.hh
+++ b/src/libstore/parsed-derivations.hh
@@ -1,3 +1,5 @@
+#pragma once
+
#include "store-api.hh"
#include <nlohmann/json_fwd.hpp>
diff --git a/src/libutil/topo-sort.hh b/src/libutil/topo-sort.hh
index 7a68ff169..7418be5e0 100644
--- a/src/libutil/topo-sort.hh
+++ b/src/libutil/topo-sort.hh
@@ -1,3 +1,5 @@
+#pragma once
+
#include "error.hh"
namespace nix {