aboutsummaryrefslogtreecommitdiff
path: root/src/nix-daemon/nix-daemon.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-07 11:44:02 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-07 11:44:02 +0100
commitf730841db4db3da4dd33a477fcf016139d699722 (patch)
treec6f942a2e8a05c3dd3cddf600507b1e07815c177 /src/nix-daemon/nix-daemon.cc
parent850f73045f7d34c51bfd1cddfd2c4c0c61e15a36 (diff)
parent99af822004418b25b6d04eca67949c62e770c16b (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/nix-daemon/nix-daemon.cc')
-rw-r--r--src/nix-daemon/nix-daemon.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc
index da17ddcba..65ae88faf 100644
--- a/src/nix-daemon/nix-daemon.cc
+++ b/src/nix-daemon/nix-daemon.cc
@@ -10,8 +10,9 @@
#include "daemon.hh"
#include <algorithm>
-
+#include <climits>
#include <cstring>
+
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
@@ -23,7 +24,6 @@
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
-#include <limits.h>
#if __APPLE__ || __FreeBSD__
#include <sys/ucred.h>