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.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/lock.hpp b/src/common/lock.hpp
index 8b444f4..f7ce2d8 100644
--- a/src/common/lock.hpp
+++ b/src/common/lock.hpp
@@ -1,8 +1,12 @@
#ifndef LOCK_HPP
#define LOCK_HPP
+#include "sanity.hpp"
+
#include <cstdio>
+// TODO replace with a class
+
/// Locked FILE I/O
// Changes are made in a separate file until lock_fclose
FILE *lock_fopen(const char *filename, int *info);