about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-03-30T13·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-03-30T13·24+0000
commitae7990cc88dcc6a61edfe9e442174bc5b1bc3299 (patch)
treeb3c3f230323b51fd5b7b9530cd1899e3864962f1 /src
parent4caca58ff7cc2edae110a11b9c47d14fea345eca (diff)
* Work around a bug in Apple's GCC preprocessor.
Diffstat (limited to 'src')
-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 ca0a6e401084..568c975c2978 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 0bf246f1e6f9..cd83b8350d0b 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 58df479fc845..37347cd281c5 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;