aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libmain/shared.cc4
-rw-r--r--src/libstore/local-store.cc2
-rw-r--r--src/nix-setuid-helper/nix-setuid-helper.cc3
3 files changed, 5 insertions, 4 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index ca0a6e401..568c975c2 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -1,10 +1,10 @@
+#include "config.h"
+
#include "shared.hh"
#include "globals.hh"
#include "store-api.hh"
#include "util.hh"
-#include "config.h"
-
#include <iostream>
#include <cctype>
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 0bf246f1e..cd83b8350 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1,3 +1,4 @@
+#include "config.h"
#include "local-store.hh"
#include "util.hh"
#include "globals.hh"
@@ -7,7 +8,6 @@
#include "aterm.hh"
#include "derivations-ast.hh"
#include "worker-protocol.hh"
-#include "config.h"
#include <iostream>
#include <algorithm>
diff --git a/src/nix-setuid-helper/nix-setuid-helper.cc b/src/nix-setuid-helper/nix-setuid-helper.cc
index 58df479fc..37347cd28 100644
--- a/src/nix-setuid-helper/nix-setuid-helper.cc
+++ b/src/nix-setuid-helper/nix-setuid-helper.cc
@@ -1,3 +1,5 @@
+#include "config.h"
+
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -10,7 +12,6 @@
#include <iostream>
#include <vector>
-#include "config.h"
#include "util.hh"
using namespace nix;