about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian McKenna <brian@brianmckenna.org>2017-08-02T21·03+1000
committerBrian McKenna <brian@brianmckenna.org>2017-08-02T21·03+1000
commitb39cc4fc813adddf2c9662b2c6e9d4f5a24c0f60 (patch)
tree88191a80e3f9fbc8f4bd004961fafa46d316931b /src
parenta2778988f2b70a5f000202afa7213b553350c72e (diff)
Include missing <cstdlib> for abort()
This is needed to get Nix compiled using Android NDK.
Diffstat (limited to 'src')
-rw-r--r--src/libutil/sync.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/sync.hh b/src/libutil/sync.hh
index 611c900e0a32..3b2710f6fd30 100644
--- a/src/libutil/sync.hh
+++ b/src/libutil/sync.hh
@@ -1,5 +1,6 @@
 #pragma once
 
+#include <cstdlib>
 #include <mutex>
 #include <condition_variable>
 #include <cassert>