aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/current-process.cc
diff options
context:
space:
mode:
authorjade <lix@jade.fyi>2024-05-30 14:57:37 +0000
committerGerrit Code Review <gerrit@lix-systems>2024-05-30 14:57:37 +0000
commit18aa3e1d570b4ecbb9962376e5fba5757dad8da9 (patch)
treead9edb3d85c7f3e9b6a33f65efeebbdbc9bd243b /src/libutil/current-process.cc
parent53d40888ffe8238ab5baf6a9d1a7481c29e9c65d (diff)
parent7575db522e9008685c4009423398f6900a16bcce (diff)
Merge "Remove 100s of CPU time (10%) from build times (1465s -> 1302s)" into main
Diffstat (limited to 'src/libutil/current-process.cc')
-rw-r--r--src/libutil/current-process.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/current-process.cc b/src/libutil/current-process.cc
index c64dd1e0d..3c037c33f 100644
--- a/src/libutil/current-process.cc
+++ b/src/libutil/current-process.cc
@@ -5,6 +5,7 @@
#include "namespaces.hh"
#include "signals.hh"
#include "strings.hh"
+#include <math.h>
#ifdef __APPLE__
# include <mach-o/dyld.h>