about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-13T09·00+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-14T10·50+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 c928e7cb6ed4..d6e1e4d7e0d4 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>