about summary refs log tree commit diff
path: root/third_party/nix/src/build-remote/build-remote.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/build-remote/build-remote.cc')
-rw-r--r--third_party/nix/src/build-remote/build-remote.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/third_party/nix/src/build-remote/build-remote.cc b/third_party/nix/src/build-remote/build-remote.cc
index 2802b49ac8..04fcf38970 100644
--- a/third_party/nix/src/build-remote/build-remote.cc
+++ b/third_party/nix/src/build-remote/build-remote.cc
@@ -7,9 +7,6 @@
 #include <tuple>
 
 #include <glog/logging.h>
-#if __APPLE__
-#include <sys/time.h>
-#endif
 
 #include "derivations.hh"
 #include "globals.hh"
@@ -181,11 +178,7 @@ static int _main(int argc, char* argv[]) {
           break;
         }
 
-#if __APPLE__
-        futimes(bestSlotLock.get(), NULL);
-#else
         futimens(bestSlotLock.get(), nullptr);
-#endif
 
         lock = -1;