summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/libstore/optimise-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libstore/optimise-store.cc b/nix/libstore/optimise-store.cc
index 4ea27fdebb..c62b8e451b 100644
--- a/nix/libstore/optimise-store.cc
+++ b/nix/libstore/optimise-store.cc
@@ -4,7 +4,7 @@
 #include "local-store.hh"
 #include "globals.hh"
 
-#include <stdlib.h>
+#include <cstdlib>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>