about summary refs log tree commit diff
diff options
context:
space:
mode:
-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>