summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fixPermissions.cpp1
-rw-r--r--fixPermissions.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/fixPermissions.cpp b/fixPermissions.cpp
index 78e7654f6..fa5ef5640 100644
--- a/fixPermissions.cpp
+++ b/fixPermissions.cpp
@@ -26,6 +26,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <dirent.h>
+#include <errno.h>
#include "gui/rapidxml.hpp"
#include "fixPermissions.hpp"
#include "twrp-functions.hpp"
diff --git a/fixPermissions.hpp b/fixPermissions.hpp
index aa6f60964..6439dac60 100644
--- a/fixPermissions.hpp
+++ b/fixPermissions.hpp
@@ -8,6 +8,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <dirent.h>
+#include <errno.h>
#include "gui/rapidxml.hpp"
#include "twrp-functions.hpp"