aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-13 11:00:23 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-14 12:50:01 +0200
commit96515b0c0d8c515fff60ef3b72cd7cc9837142c3 (patch)
tree6737258001e8e6226266a7b30e29bb9483805c2f
parenta54736355a0ce220d23b2243b6bf20d70b303c6c (diff)
Fix std::atomic_flag build failure
http://hydra.nixos.org/build/34453794
-rw-r--r--src/libstore/local-store.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index c928e7cb6..d6e1e4d7e 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -10,6 +10,7 @@
#include <iostream>
#include <algorithm>
#include <cstring>
+#include <atomic>
#include <sys/types.h>
#include <sys/stat.h>