summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2024-11-19 20:29:56 +0100
committerJoel Klinghed <the_jk@opera.com>2024-11-19 20:29:56 +0100
commitbcff12595b913ad8b342f6aab9b8deb25f246ff7 (patch)
treebeb1e354f9f5655d0b37ff33712f1a02c3c03f8e
parentf55b3ffc5b2e2745e5392ce0022b9e38b2c7fa3d (diff)
Add missing import for lseek() and ftruncate()
-rw-r--r--src/timer_state.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timer_state.cc b/src/timer_state.cc
index 7700f80..ecaed77 100644
--- a/src/timer_state.cc
+++ b/src/timer_state.cc
@@ -13,6 +13,7 @@
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <unistd.h>
#include <thread>
namespace {