aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-11-07 14:35:47 +0100
committerEelco Dolstra <edolstra@gmail.com>2016-11-07 14:35:47 +0100
commitb3ba762dbf26c323accf6c5f2763fb54b08d96dc (patch)
treec5b1379b71695d1b781adbac3ba26838369fb639 /src
parent18b7363a699c0b5a4bf59d2b320dfc2b84dc4e67 (diff)
Add missing #include
Diffstat (limited to 'src')
-rw-r--r--src/libutil/finally.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/finally.hh b/src/libutil/finally.hh
index 47c64deae..7760cfe9a 100644
--- a/src/libutil/finally.hh
+++ b/src/libutil/finally.hh
@@ -1,5 +1,7 @@
#pragma once
+#include <functional>
+
/* A trivial class to run a function at the end of a scope. */
class Finally
{