blob: d13ed3226284efeebc4ce42bf44fcd5cf8c773af [file] [log] [blame]
diff --git a/Server/RaftLog.cc b/Server/RaftLog.cc
index 5705cd3..e571251 100644
--- a/Server/RaftLog.cc
+++ b/Server/RaftLog.cc
@@ -16,6 +16,7 @@
#include <algorithm>
#include <fcntl.h>
#include <sys/stat.h>
+#include <unistd.h>
#include "build/Protocol/Raft.pb.h"
#include "Core/Debug.h"