summaryrefslogtreecommitdiff
path: root/src/common/lock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/lock.cpp')
-rw-r--r--src/common/lock.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/lock.cpp b/src/common/lock.cpp
index 13a99c5..9075cbb 100644
--- a/src/common/lock.cpp
+++ b/src/common/lock.cpp
@@ -1,6 +1,9 @@
-#include <unistd.h>
-#include <stdio.h>
#include "lock.hpp"
+
+#include <unistd.h>
+
+#include <cstdio>
+
#include "socket.hpp"
/// Protected file writing