summaryrefslogtreecommitdiff
path: root/src/common/lock.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/lock.hpp')
-rw-r--r--src/common/lock.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/lock.hpp b/src/common/lock.hpp
index d6128d8..8b444f4 100644
--- a/src/common/lock.hpp
+++ b/src/common/lock.hpp
@@ -1,5 +1,8 @@
#ifndef LOCK_HPP
#define LOCK_HPP
+
+#include <cstdio>
+
/// Locked FILE I/O
// Changes are made in a separate file until lock_fclose
FILE *lock_fopen(const char *filename, int *info);