diff --git a/src/config.cpp b/src/config.cpp
index f586ab5..811ce29 100644
--- src/config.cpp
+++ src/config.cpp
@@ -4,6 +4,7 @@
#include <sstream>
#include <fstream>
#include <algorithm>
+#include <fcntl.h>
std::ofstream out;